|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager
@InterfaceAudience.Private public class ClientDistributedCacheManager
Manages internal configuration of the cache by the client for job submission.
| Constructor Summary | |
|---|---|
ClientDistributedCacheManager()
|
|
| Method Summary | |
|---|---|
static void |
determineCacheVisibilities(org.apache.hadoop.conf.Configuration job,
Map<URI,org.apache.hadoop.fs.FileStatus> statCache)
Determines the visibilities of the distributed cache files and archives. |
static void |
determineTimestamps(org.apache.hadoop.conf.Configuration job,
Map<URI,org.apache.hadoop.fs.FileStatus> statCache)
Determines timestamps of files to be cached, and stores those in the configuration. |
static void |
determineTimestampsAndCacheVisibilities(org.apache.hadoop.conf.Configuration job)
Determines timestamps of files to be cached, and stores those in the configuration. |
static void |
getDelegationTokens(org.apache.hadoop.conf.Configuration job,
org.apache.hadoop.security.Credentials credentials)
For each archive or cache file - get the corresponding delegation token |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientDistributedCacheManager()
| Method Detail |
|---|
public static void determineTimestampsAndCacheVisibilities(org.apache.hadoop.conf.Configuration job)
throws IOException
job -
IOException
public static void determineTimestamps(org.apache.hadoop.conf.Configuration job,
Map<URI,org.apache.hadoop.fs.FileStatus> statCache)
throws IOException
job - Configuration of a job.
IOException
public static void getDelegationTokens(org.apache.hadoop.conf.Configuration job,
org.apache.hadoop.security.Credentials credentials)
throws IOException
job - credentials -
IOException
public static void determineCacheVisibilities(org.apache.hadoop.conf.Configuration job,
Map<URI,org.apache.hadoop.fs.FileStatus> statCache)
throws IOException
job -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||