Class DistributedCacheHelper


  • public class DistributedCacheHelper
    extends Object
    Since:
    1.6.0
    • Constructor Detail

      • DistributedCacheHelper

        public DistributedCacheHelper()
    • Method Detail

      • addCacheFile

        public static void addCacheFile​(String path,
                                        String fragment,
                                        org.apache.hadoop.conf.Configuration conf)
        Since:
        1.6.0
      • addCacheFile

        public static void addCacheFile​(org.apache.hadoop.mapreduce.Job job,
                                        String path,
                                        String fragment)
      • openCachedFile

        public static InputStream openCachedFile​(String path,
                                                 String fragment,
                                                 org.apache.hadoop.conf.Configuration conf)