if ( ( copyToLocal ) || ( runLocal ) ) {
File path = new File(args[1]);
path.mkdirs();
}
Tool first = new FirstDriver(configuration);
int status = first.run(new String[] { args[0], args[1] + OUTPUT_PATH_POSTFIX_1 });
if (status != 0){ return status ;}
createOffsetsFile(fs, args[1] + OUTPUT_PATH_POSTFIX_1, args[1] + OUTPUT_PATH_POSTFIX_1);
Path offsets = new Path(args[1] + OUTPUT_PATH_POSTFIX_1, Constants.OFFSETS_FILENAME);
DistributedCache.addCacheFile(offsets.toUri(), configuration);