Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> Re: How to debug


+
Manoj Babu 2012-08-26, 12:42
+
Manoj Babu 2012-08-25, 07:48
Copy link to this message
-
Re: How to debug
Hi,
First, add the following to mapred-site.xml :
<property>
  <name>mapred.child.java.opts</name>
  <value>-Xmx512m -Xdebug -Xrunjdwp:transport=dt_socket,address127.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 <[EMAIL PROTECTED]> wrote:

> Hi All,
>
> how to debug mapreduce programs in pseudo mode?
>
> Thanks in Advance.
>
+
Manoj Babu 2012-08-26, 07:45
+
Harsh J 2012-08-26, 12:08