hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yaron Gonen <yaron.go...@gmail.com>
Subject Re: How to debug
Date Sun, 26 Aug 2012 07:06:56 GMT
Hi,
First, add the following to mapred-site.xml :
<property>
  <name>mapred.child.java.opts</name>
  <value>-Xmx512m -Xdebug -Xrunjdwp:transport=dt_socket,address=
127.0.0.1:9987,suspend=y</value>
</property>
Now. add a "Remote Java Application" run configuration in eclipse.
The "Conection Type" should be Standard (Socket Listen), and the port
should be 9987.

Happy debugging!
Yaron



On Sat, Aug 25, 2012 at 10:48 AM, Manoj Babu <dmanojbabu@gmail.com> wrote:

> Hi All,
>
> how to debug mapreduce programs in pseudo mode?
>
> Thanks in Advance.
>

Mime
View raw message