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

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

Introduction

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

The text is from its open source code.

Field

StringCACHE_ARCHIVES
Warning: #CACHE_ARCHIVES is not a *public* constant.
StringCACHE_FILES
Warning: #CACHE_FILES is not a *public* constant.
StringCACHE_SYMLINK
Warning: #CACHE_SYMLINK is not a *public* constant.

Constructor

Method

voidaddLocalArchives(Configuration conf, String str)
Add a archive that has been localized to the conf.
voidaddLocalFiles(Configuration conf, String str)
Add a file that has been localized to the conf..
voidcreateAllSymlink(Configuration conf, File jobCacheDir, File workDir)
This method create symlinks for all files in a given dir in another directory.
FileStatusgetFileStatus(Configuration conf, URI cache)
Returns FileStatus of a given cache file on hdfs.
longgetTimestamp(Configuration conf, URI cache)
Returns mtime of a given cache file on hdfs.
voidsetArchiveTimestamps(Configuration conf, String timestamps)
This is to check the timestamp of the archives to be localized.
voidsetFileTimestamps(Configuration conf, String timestamps)
This is to check the timestamp of the files to be localized.
voidsetLocalArchives(Configuration conf, String str)
Set the conf to contain the location for localized archives.
voidsetLocalFiles(Configuration conf, String str)
Set the conf to contain the location for localized files.