my problem is that there are many definitions of one function, i can't get which function it really use even in eclipse , since there are many overwrite, so i want to track it. is there some tools like gdb in java for runing hadoop?
在 2011年12月8日 下午1:59,wang xin <wangxin0072...@gmail.com>写道: > Hi,Jing, > you can run "ant eclipse-files" at command line.And then you can > import it to your eclipse. > I think you can read the code from JobTracker and TaskTracker .you can > find the main() function in these class. > > 在 2011-12-8,下午1:50, 陈竞 写道: > > > hi, i am reading hadoop-0.23 source code, mainly focusing on hadoop yarn. > > However i have some problems in reading the source code. > > There is no Debugging tools for hadoop, so i can't track the code > execution > > flow. Therefore i can't understand the code quickly since there are lots > of > > overwirte, > > interface and inheritance. So can anyone give some good suggestions or > > share your method? I am really appreciate it. Thankyou > > > > > > > > -- > > 陈竞,中科院计算技术研究所,高性能计算机中心 > > Jing Chen HPCC.ICT.AC China > > -- 陈竞,中科院计算技术研究所,高性能计算机中心 Jing Chen HPCC.ICT.AC China