ToolRunner is just the messenger. It parses Hadoop args for you before invoking your own job's run() method. It also checks exit status. By itself it is only a bit of wrapper code. You have to use it or else Hadoop does not pick up its command line args.
On Sun, Jun 9, 2013 at 11:03 PM, Grant Ingersoll <[email protected]> wrote: > Here's another theory: > > I've noticed in my own usage of Hadoop that using the ToolRunner.run method > as part of unit tests often leads to bad things (it doesn't always exit > cleanly, it seems) and we use it in a lot of places. Anyone else experience > this? >
