You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Manoj Babu <dm...@gmail.com> on 2012/08/25 09:48:20 UTC
How to debug
Hi All,
how to debug mapreduce programs in pseudo mode?
Thanks in Advance.
Re: How to debug
Posted by Harsh J <ha...@cloudera.com>.
Manoj,
This has been asked several times before. For example, see:
http://search-hadoop.com/m/MKLlHC6WYx
On Sun, Aug 26, 2012 at 1:15 PM, Manoj Babu <ma...@gmail.com> wrote:
> Hi Yaron,
>
> Will it work in pseudo mode also?
>
> Cheers!
> Manoj.
>
>
>
> On Sun, Aug 26, 2012 at 12:36 PM, Yaron Gonen <ya...@gmail.com> wrote:
>>
>> 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 <dm...@gmail.com> wrote:
>>>
>>> Hi All,
>>>
>>> how to debug mapreduce programs in pseudo mode?
>>>
>>> Thanks in Advance.
>>
>>
>
--
Harsh J
Re: How to debug
Posted by Manoj Babu <ma...@gmail.com>.
Hi Yaron,
Will it work in pseudo mode also?
Cheers!
Manoj.
On Sun, Aug 26, 2012 at 12:36 PM, Yaron Gonen <ya...@gmail.com> wrote:
> 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 <dm...@gmail.com> wrote:
>
>> Hi All,
>>
>> how to debug mapreduce programs in pseudo mode?
>>
>> Thanks in Advance.
>>
>
>
Re: How to debug
Posted by Yaron Gonen <ya...@gmail.com>.
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 <dm...@gmail.com> wrote:
> Hi All,
>
> how to debug mapreduce programs in pseudo mode?
>
> Thanks in Advance.
>