Example usage for Java org.apache.hadoop.filecache DistributedCache fields, constructors, methods, implement or subclass
The text is from its open source code.
String | CACHE_ARCHIVES Warning: #CACHE_ARCHIVES is not a *public* constant. |
String | CACHE_FILES Warning: #CACHE_FILES is not a *public* constant. |
String | CACHE_SYMLINK Warning: #CACHE_SYMLINK is not a *public* constant. |
void | addLocalArchives(Configuration conf, String str) Add a archive that has been localized to the conf. |
void | addLocalFiles(Configuration conf, String str) Add a file that has been localized to the conf.. |
void | createAllSymlink(Configuration conf, File jobCacheDir, File workDir) This method create symlinks for all files in a given dir in another directory. |
FileStatus | getFileStatus(Configuration conf, URI cache) Returns FileStatus of a given cache file on hdfs. |
long | getTimestamp(Configuration conf, URI cache) Returns mtime of a given cache file on hdfs. |
void | setArchiveTimestamps(Configuration conf, String timestamps) This is to check the timestamp of the archives to be localized. |
void | setFileTimestamps(Configuration conf, String timestamps) This is to check the timestamp of the files to be localized. |
void | setLocalArchives(Configuration conf, String str) Set the conf to contain the location for localized archives. |
void | setLocalFiles(Configuration conf, String str) Set the conf to contain the location for localized files. |