Example usage for org.apache.hadoop.mapreduce.filecache DistributedCache getArchiveTimestamps

List of usage examples for org.apache.hadoop.mapreduce.filecache DistributedCache getArchiveTimestamps

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce.filecache DistributedCache getArchiveTimestamps.

Prototype

@Deprecated
public static long[] getArchiveTimestamps(Configuration conf) 

Source Link

Document

Get the timestamps of the archives.

Usage

From source file:org.apache.tez.mapreduce.hadoop.mapreduce.JobContextImpl.java

License:Apache License

/**
 * Get the timestamps of the archives.  Used by internal
 * DistributedCache and MapReduce code.//w w w  .  ja v a2s  .co m
 * @return a string array of timestamps 
 * @throws IOException
 */
public String[] getArchiveTimestamps() {
    return toTimestampStrs(DistributedCache.getArchiveTimestamps(conf));
}