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

Switch to Threaded View
MapReduce >> mail # user >> Re: trace class calls in hadoop hdfs

Copy link to this message
Re: trace class calls in hadoop hdfs
I think you can try to use jdb, which exists in $JAVA_HOME/bin.

2013/11/4 Karim Awara <[EMAIL PROTECTED]>

> 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