ToolRunner can be used to run classes implementing
Tool interface. It works in conjunction with GenericOptionsParser to parse the generic hadoop command line arguments and modifies the
Configuration of the
Tool. The application-specific options are passed along without being modified.
Static Public Member Functions
|static void||printGenericCommandUsage (PrintStream out)|
|static int||run (Tool tool, String args) throws Exception|
|static int||run (Configuration conf, Tool tool, String args) throws Exception|