I am trying to run my first word count on Cloudera VM. I am getting the
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at new_pack.word.main(word.java:52)
this error on line:
FileInputFormat.setInputPaths(conf, new Path(args[0]));
in the driver class.
I have copied the code mentioned in this Cloudera tutorial.