public static void addCacheArchive ( URI uri , Configuration conf ) { String archives = conf . get ( "mapred.cache.archives" ) ; conf . set ( "mapred.cache.archives" , archives == null ? uri . toString ( ) : archives + "," + uri . toString ( ) ) ; }
Add a archives to be localized to the conf