conf.get(Constants.CFG_LOCAL_DATA_DIR),
conf.get(Constants.AppFabric.OUTPUT_DIR));
File workDir = new File(dir);
Map<String, LocalResource> localResources =
new LinkedHashMap<String, LocalResource>();
<BUG>MRApps.setupDistributedCache(conf, localResources);
Map<String, Path> classpaths = new HashMap<String, Path>();</BUG>
Path[] archiveClassPaths = DistributedCache.getArchiveClassPaths(conf);
if (archiveClassPaths != null) {
for (Path p : archiveClassPaths) {

conf.get(Constants.CFG_LOCAL_DATA_DIR),
conf.get(Constants.AppFabric.OUTPUT_DIR));
File workDir = new File(dir);
Map<String, LocalResource> localResources =
new LinkedHashMap<String, LocalResource>();
MRApps.setupDistributedCache(conf, localResources);
AtomicLong uniqueNumberGenerator =
new AtomicLong(System.currentTimeMillis());
Map<String, Path> classpaths = new HashMap<String, Path>();
Path[] archiveClassPaths = DistributedCache.getArchiveClassPaths(conf);
if (archiveClassPaths != null) {
for (Path p : archiveClassPaths) {
