log.info(BIG_JOB_LOG_MSG);
// Search to see if we have any UDF/LoadFunc/StoreFunc that need to pack things into the
// distributed cache.
List<String> cacheFiles = new ArrayList<String>();
List<String> shipFiles = new ArrayList<String>();
UdfCacheShipFilesVisitor mapUdfCacheFileVisitor = new UdfCacheShipFilesVisitor(mro.mapPlan);
mapUdfCacheFileVisitor.visit();
cacheFiles.addAll(mapUdfCacheFileVisitor.getCacheFiles());
shipFiles.addAll(mapUdfCacheFileVisitor.getShipFiles());
UdfCacheShipFilesVisitor reduceUdfCacheFileVisitor = new UdfCacheShipFilesVisitor(mro.reducePlan);
reduceUdfCacheFileVisitor.visit();
cacheFiles.addAll(reduceUdfCacheFileVisitor.getCacheFiles());
shipFiles.addAll(reduceUdfCacheFileVisitor.getShipFiles());
setupDistributedCache(pigContext, conf, cacheFiles.toArray(new String[]{}), false);
// Setup the DistributedCache for this job
List<URL> allJars = new ArrayList<URL>();