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

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

Introduction

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

Prototype

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

Source Link

Document

Get the timestamps of the files.

Usage

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

License:Apache License

/**
 * Get the timestamps of the files.  Used by internal
 * DistributedCache and MapReduce code./*w  w w  .  j av a 2s. co m*/
 * @return a string array of timestamps 
 * @throws IOException
 */
public String[] getFileTimestamps() {
    return toTimestampStrs(DistributedCache.getFileTimestamps(conf));
}