Example usage for Java org.apache.hadoop.mapreduce.filecache DistributedCache fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addCacheFile(URI uri, Configuration conf) Add a file to be localized to the conf. |
void | addFileToClassPath(Path file, Configuration conf) Add a file path to the current set of classpath entries. |
void | addFileToClassPath(Path file, Configuration conf, FileSystem fs) Add a file path to the current set of classpath entries. |
void | createSymlink(Configuration conf) Originally intended to enable symlinks, but currently symlinks cannot be disabled. |
Path[] | getArchiveClassPaths(Configuration conf) Get the archive entries in classpath as an array of Path. |
long[] | getArchiveTimestamps(Configuration conf) Get the timestamps of the archives. |
URI[] | getCacheArchives(Configuration conf) Get cache archives set in the Configuration. |
URI[] | getCacheFiles(Configuration conf) Get cache files set in the Configuration. |
Path[] | getFileClassPaths(Configuration conf) Get the file entries in classpath as an array of Path. |
long[] | getFileTimestamps(Configuration conf) Get the timestamps of the files. |
Path[] | getLocalCacheArchives(Configuration conf) Return the path array of the localized caches. |
Path[] | getLocalCacheFiles(Configuration conf) Return the path array of the localized files. |
boolean | getSymlink(Configuration conf) Originally intended to check if symlinks should be used, but currently symlinks cannot be disabled. |
void | setCacheFiles(URI[] files, Configuration conf) Set the configuration with the given set of files. |