Description
Currently all crunch examples have the following code:
if (args.length != 3) { System.err.println(); System.err.println("Usage: " + this.getClass().getName() + " [generic options] input output"); System.err.println(); GenericOptionsParser.printGenericCommandUsage(System.err); return 1; }
this is incorrect since run() gets to see all arguments even generic ones and thus you can't predict the value of
args.length.
This is also, unfortunately a major blocker, for using Crunch with Hadoop 2 because of a MAPREDUCE-4068.
Essentially at this point a combination of MAPREDUCE-4068 and inability to pass -libjars makes Crunch example DOA for Hadoop 2 clusters.
Attachments
Attachments
Issue Links
- relates to
-
CRUNCH-79 Examples document has incorrect path and should include AverageBytesByIP and TotalBytesByIP
- Closed