@InterfaceAudience.Private public class ClientDistributedCacheManager extends Object
| Constructor and Description |
|---|
ClientDistributedCacheManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
determineCacheVisibilities(Configuration job,
Map<URI,FileStatus> statCache)
Determines the visibilities of the distributed cache files and
archives.
|
static void |
determineTimestamps(Configuration job,
Map<URI,FileStatus> statCache)
Determines timestamps of files to be cached, and stores those
in the configuration.
|
static void |
determineTimestampsAndCacheVisibilities(Configuration job)
Determines timestamps of files to be cached, and stores those
in the configuration.
|
static void |
getDelegationTokens(Configuration job,
Credentials credentials)
For each archive or cache file - get the corresponding delegation token
|
public static void determineTimestampsAndCacheVisibilities(Configuration job) throws IOException
job - IOExceptionpublic static void determineTimestamps(Configuration job, Map<URI,FileStatus> statCache) throws IOException
job - Configuration of a job.IOExceptionpublic static void getDelegationTokens(Configuration job, Credentials credentials) throws IOException
job - credentials - IOExceptionpublic static void determineCacheVisibilities(Configuration job, Map<URI,FileStatus> statCache) throws IOException
job - IOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.