Quote:
the line error 63 is about the output format:
FileOutputFormat.setOutputPath(conf, new Path(args[1]));
and the error message is
java.lang.ArrayIndexOutOfBoundsException
So there is no second command line argument present when executing the application.
You have to execute the application like
NameOfApp InputPath OutputPath
or better add code to check if all required command line parameters are present:
public static void main(String[] args) throws Exception {
if (args.length < 2) {
System.err.println("Must pass InputPath and OutputPath.");
System.exit(1);
}
}