LOG.info("Generating code...");
CodeGenTool codeGen = new CodeGenTool();
String [] codeGenArgs = getCodeGenArgv();
SqoopOptions options = codeGen.parseArguments(
codeGenArgs, null, null, true);
codeGen.validateOptions(options);
int ret = codeGen.run(options);
assertEquals(0, ret);
List<String> generatedJars = codeGen.getGeneratedJarFiles();
// Now, wipe the created table so we can export on top of it again.