//the share folder is needed during indexing, save this on DFS
if (Files.getFileSystemName(ApplicationSetup.TERRIER_SHARE).equals("local"))
{
Path tempTRShare = makeTemporaryFile(jobConf, "terrier.share");
propertiesDuringJob.setProperty("terrier.share", remoteFSURI.resolve(tempTRShare.toUri()).toString());
if (Files.exists(ApplicationSetup.TERRIER_SHARE))
{
jobConf.set("terrier.share.copied", remoteFSURI.resolve(tempTRShare.toUri()).toString());
//logger.info("Copying terrier share/ directory ("+ApplicationSetup.TERRIER_SHARE+") to shared storage area ("+remoteFSURI.resolve(tempTRShare.toUri()).toString()+")");
FileUtil.copy(