Your best bet is to find a test that includes all the bits you want and
execute that test in debug mode. (You can also change an existing test
to include what you want, but in most cases it is easier to start with
an existing test than to start from scratch.)
Daniel
On 12/20/15 6:01 PM, Allen Zhang wrote:
Hi all,
I am reading hadoop-2.6.0 source code, mainly focusing on hadoop yarn.
However i have some problems in reading or debugging the source code,can I
debug it locally(I mean in my laptop locally with this source code I've
downloaded, not remotely debug),
because I need to track it execution flow stey by stey, and then I want to add
a new feature or enhancement.
So can anyone give some good suggestions or share your method or any wiki page?
Really appreciate!!
Thanks,
Allen