|
|
-
Which class or method is called first when i run a command in hadoop
Agarwal, Nikhil 2013-02-19, 11:23
Hi All,
Thanks for your answers till now. I was trying to debug Hadoop commands. I just wanted to know that when I run any command say dfs or jar, then which method is called first. If I set a breakpoint then it executes till there but I do not come to know what all methods have been already executed.
Thanks & Regards, Nikhil
+
Agarwal, Nikhil 2013-02-19, 11:23
-
Re: Which class or method is called first when i run a command in hadoop
Manoj Babu 2013-02-19, 12:18
Hi Nikhil,
Have a look inside the script file named hadoop inside hadoop bin folder.
for example: C:\cygwin\home\hadoop-0.20.2\bin
sample code: elif [ "$COMMAND" = "jar" ] ; then CLASS=org.apache.hadoop.util.RunJar Cheers! Manoj. On Tue, Feb 19, 2013 at 4:53 PM, Agarwal, Nikhil <[EMAIL PROTECTED]>wrote:
> Hi All,**** > > ** ** > > Thanks for your answers till now. I was trying to debug Hadoop commands. I > just wanted to know that when I run any command say dfs or jar, then which > method is called first. If I set a breakpoint then it executes till there > but I do not come to know what all methods have been already executed.**** > > ** ** > > Thanks & Regards,**** > > Nikhil**** >
+
Manoj Babu 2013-02-19, 12:18
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext