}
FsShell shell = new FsShell(conf);
try {
LOG.info("Changing the permissions for inputPath " + ioPath.toString());
shell.run(new String[] {"-chmod","-R","777", ioPath.toString()});
} catch (Exception e) {
LOG.error("Couldnt change the file permissions " , e);
throw new IOException(e);
}
LOG.info("Done.");