Debugging mapper

2011-09-15 Thread Frank Astier
Hi - I’m using IntelliJ and the WordCount example in Hadoop (which uses MiniMRCluster). Is it possible to set an IntelliJ debugger breakpoint straight into the map function of the mapper? - I’ve tried, but so far, the debugger does not stop at the breakpoint. Thanks! Frank

Re: Debugging mapper

2011-09-15 Thread John Armstrong
On Thu, 15 Sep 2011 12:51:48 -0700, Frank Astier fast...@yahoo-inc.com wrote: I’m using IntelliJ and the WordCount example in Hadoop (which uses MiniMRCluster). Is it possible to set an IntelliJ debugger breakpoint straight into the map function of the mapper? - I’ve tried, but so far, the

Re: Debugging mapper

2011-09-15 Thread Joey Echeverria
You might also want to look into MRUnit[1]. It lets you mock the behavior of the framework to test your map and reduce classes in isolation. Can't discover all bugs, but a useful tool and works nicely with IDE debuggers. -Joey [1] http://incubator.apache.org/mrunit/ On Thu, Sep 15, 2011 at 3:51