Hi All,
Currently I used eclipse to compile/debug the source code, and I configured
the "remote Java application" to debug the source code in eclipse, for
example, I can debug the client side code when I run the command
"./bin/hdfs dfs -mkdir test", it goes through "FsShell--->
DistributedFileSys
Hi Kun Ren,
You can follow the below steps.
1. configure HADOOP_NAMENODE_OPTS="-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=3988" in
hadoop-env.sh
2. Start Namenode
3. Now Namenode will start debug port in 3988.
4. Configure Remote debug application to connect to :3988 in
eclip
Hi Vinay,
Thanks a lot, it works:)
I have another question:
1. When I add the following lines into the public boolean mkdirs(String
src, FsPermission masked, boolean createParent) in the
NameNodeRpcServer.java,
LOG.warn("NameNodeRpcServer.java:mkdirs, log level=warn");
System.out.pr
-Vinay
-- Forwarded message --
From: Vinayakumar B
Date: Tue, Apr 19, 2016 at 11:47 PM
Subject: Re: Eclipse debug HDFS server side code
To: Kun Ren
1. Since you are debugging remote code, you can't change the code
dynamically during debugging. If you want to change, pu
ayakumar B
wrote:
>
> -Vinay
>
> -- Forwarded message --
> From: Vinayakumar B
> Date: Tue, Apr 19, 2016 at 11:47 PM
> Subject: Re: Eclipse debug HDFS server side code
> To: Kun Ren
>
>
> 1. Since you are debugging remote code, you can't change
f I want to change some code, Could you please explain a little more
> about how to debug/run my new modified code? Thanks so much.
>
>
>
> On Tue, Apr 19, 2016 at 2:17 PM, Vinayakumar B
> wrote:
>
>>
>> -Vinay
>>
>> -- Forwarded message ---
ied code? Thanks so much.
>>
>>
>>
>> On Tue, Apr 19, 2016 at 2:17 PM, Vinayakumar B
>> wrote:
>>
>>>
>>> -Vinay
>>>
>>> -- Forwarded message --
>>> From: Vinayakumar B
>>> Date: Tue, Apr 19, 2016 at