Path pageCounts = new Path(input);
FileUtil.copy(FileSystem.getLocal(getConf()), pageCounts, fS, new Path(tmpHdfsPath, "input"), false,
getConf());
SimpleGeneratorCMD generator = new SimpleGeneratorCMD();
generator.setConf(getConf());
if(generator.run(new String[] { "-tb", "pagecountsintegration", "-t", "pagecounts", "-i",
tmpHdfsPath + "/input", "-o", tmpHdfsPath + "/output", "-s",
"projectcode:string, pagename:string, visits:int, bytes:long", "-pby", "projectcode,pagename",
"-sep", "\" \"", "-p", "2", "-e", engine }) < 0) {
throw new RuntimeException("Generator failed!");
}