Class SharedCacheUtil
java.lang.Object
org.apache.hadoop.yarn.server.sharedcache.SharedCacheUtil
A utility class that contains helper methods for dealing with the internal
shared cache structure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetCacheDepth(org.apache.hadoop.conf.Configuration conf) static StringgetCacheEntryGlobPattern(int depth) static StringgetCacheEntryPath(int cacheDepth, String cacheRoot, String checksum)
-
Constructor Details
-
SharedCacheUtil
public SharedCacheUtil()
-
-
Method Details
-
getCacheDepth
@Private public static int getCacheDepth(org.apache.hadoop.conf.Configuration conf) -
getCacheEntryPath
-
getCacheEntryGlobPattern
-