Class SharedCacheUtil

java.lang.Object
org.apache.hadoop.yarn.server.sharedcache.SharedCacheUtil

@Private @Unstable public class SharedCacheUtil extends Object
A utility class that contains helper methods for dealing with the internal shared cache structure.
  • Constructor Details

    • SharedCacheUtil

      public SharedCacheUtil()
  • Method Details

    • getCacheDepth

      @Private public static int getCacheDepth(org.apache.hadoop.conf.Configuration conf)
    • getCacheEntryPath

      @Private public static String getCacheEntryPath(int cacheDepth, String cacheRoot, String checksum)
    • getCacheEntryGlobPattern

      @Private public static String getCacheEntryGlobPattern(int depth)