localDistributedCacheManager = new LocalDistributedCacheManager(); localDistributedCacheManager.setup(conf); if (localDistributedCacheManager.hasLocalClasspaths()) { setContextClassLoader(localDistributedCacheManager.makeClassLoader( getContextClassLoader()));
String link = entry.getKey(); String target = new File(path.toUri()).getPath(); symlink(workDir, target, link);
localFs.delete(localJobFile, true); // delete local copy localDistributedCacheManager.close(); } catch (IOException e) { LOG.warn("Error cleaning up "+id+": "+e);
try { localDistributedCacheManager.close(); } finally { try {
localDistributedCacheManager = new LocalDistributedCacheManager(); localDistributedCacheManager.setup(conf); if (localDistributedCacheManager.hasLocalClasspaths()) { setContextClassLoader(localDistributedCacheManager.makeClassLoader( getContextClassLoader()));
localFs.delete(localJobFile, true); // delete local copy localDistributedCacheManager.close(); } catch (IOException e) { LOG.warn("Error cleaning up "+id+": "+e);
String link = entry.getKey(); String target = new File(path.toUri()).getPath(); symlink(workDir, target, link);
localDistributedCacheManager = new LocalDistributedCacheManager(); localDistributedCacheManager.setup(conf, jobid); if (localDistributedCacheManager.hasLocalClasspaths()) { setContextClassLoader(localDistributedCacheManager.makeClassLoader( getContextClassLoader()));
localFs.delete(localJobFile, true); // delete local copy localDistributedCacheManager.close(); } catch (IOException e) { LOG.warn("Error cleaning up "+id+": "+e);
String link = entry.getKey(); String target = new File(path.toUri()).getPath(); symlink(workDir, target, link);
localDistributedCacheManager = new LocalDistributedCacheManager(); localDistributedCacheManager.setup(conf); if (localDistributedCacheManager.hasLocalClasspaths()) { setContextClassLoader(localDistributedCacheManager.makeClassLoader( getContextClassLoader()));
String link = entry.getKey(); String target = new File(path.toUri()).getPath(); symlink(workDir, target, link);