Re: Debug Hadoop Junit Test in Eclipse

2013-12-16 Thread Jay Vyas
In that case i guess you will have to statically trace the code your self. On Mon, Dec 16, 2013 at 10:32 AM, Karim Awara wrote: > > Useful post, however, I am not trying to debug mapreduce programs with > its associated VMs. I want to modify HDFS source code on how it uploads > files. So I am

Re: Debug Hadoop Junit Test in Eclipse

2013-12-16 Thread Karim Awara
Useful post, however, I am not trying to debug mapreduce programs with its associated VMs. I want to modify HDFS source code on how it uploads files. So I am only looking to trace fs commands through the DFS shell. I believe this should be require less work in debugging than actually going to mapr

Re: Debug Hadoop Junit Test in Eclipse

2013-12-16 Thread Jay Vyas
Excellent question. its not trivial to debug a distributed app in eclipse, but it is totally doable using javaagents . We've written it up here: http://jayunit100.blogspot.com/2013/07/deep-dive-into-hadoop-with-bigtop-and.html FYI cc Brad childs (https://github.com/childsb) at red hat has help