I think you can try to use jdb, which exists in $JAVA_HOME/bin. Regards Bing
2013/11/4 Karim Awara <karim.aw...@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 Tel:(86)134-2619-1361 weibo: http://weibo.com/jiangbinglover BLOG: www.binospace.com BLOG: http://blog.sina.com.cn/jiangbinglover Focus on distributed computing, HDFS/HBase