public static void setCacheArchives(URI[] archives, Configuration conf) {
    String sarchives = StringUtils.uriToString(archives);
    conf.set("mapred.cache.archives", sarchives);
  }
public static void setCacheArchives ( URI [ ] archives , Configuration conf ) { String sarchives = StringUtils . uriToString ( archives ) ; conf . set ( "mapred.cache.archives" , sarchives ) ; }
Set the configuration with the given set of archives
@param archives The list of archives that need to be localized
@param conf Configuration which will be changed