hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bing Jiang <jiangbinglo...@gmail.com>
Subject Re: trace class calls in hadoop hdfs
Date Mon, 04 Nov 2013 09:28:38 GMT
I think you can try to use jdb, which exists in $JAVA_HOME/bin.


2013/11/4 Karim Awara <karim.awara@kaust.edu.sa>

> Hi,
> I want to trace the calls that both the DataNode and the NameNode do when
> I execute a shell command on the hdfs such as (hadoop dfs -put {src}
> {dst}). Any idea how to do that?
> ; tracing including the data node asking the name node for the blockID..
> also the class where datanode use to determine the replica datanodes in the
> pipe ..etc
> --
> Best Regards,
> Karim Ahmed Awara
> ------------------------------
> This message and its contents, including attachments are intended solely
> for the original recipient. If you are not the intended recipient or have
> received this message in error, please notify me immediately and delete
> this message from your computer system. Any unauthorized use or
> distribution is prohibited. Please consider the environment before printing
> this email.

Bing Jiang
weibo: http://weibo.com/jiangbinglover
BLOG: www.binospace.com
BLOG: http://blog.sina.com.cn/jiangbinglover
Focus on distributed computing, HDFS/HBase

View raw message