Java org.apache.hadoop.mapreduce.filecache DistributedCache fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.mapreduce.filecache DistributedCache fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.mapreduce.filecache DistributedCache.

The text is from its open source code.

Method

voidaddCacheFile(URI uri, Configuration conf)
Add a file to be localized to the conf.
voidaddFileToClassPath(Path file, Configuration conf)
Add a file path to the current set of classpath entries.
voidaddFileToClassPath(Path file, Configuration conf, FileSystem fs)
Add a file path to the current set of classpath entries.
voidcreateSymlink(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.
booleangetSymlink(Configuration conf)
Originally intended to check if symlinks should be used, but currently symlinks cannot be disabled.
voidsetCacheFiles(URI[] files, Configuration conf)
Set the configuration with the given set of files.