hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hemanth Yamijala <yhema...@gmail.com>
Subject Re: Hadoop command line arguments
Date Sat, 04 Dec 2010 07:32:21 GMT
Hi,

On Sat, Dec 4, 2010 at 4:50 AM, yogeshv <yogeshv.info@gmail.com> wrote:
>
> Dear all,
>
> Which file in the hadoop svn processes/receives the hadoop command line
> arguments.?
>
> While execution for ex: hadoop jar <jar_file_path> <package_namespace>
> <inputfolderpath> <outputfolderpath>.
>

'hadoop' in the above line is a shell script that's present in the
hadoop-common/bin location. If you see that script, you'll notice that
it processes many secondary commands, like 'jar', in this example. And
for each such command, the corresponding class file is referred. For
e.g., jar is mapping to "org.apache.hadoop.util.RunJar"

> I am looking for a file in our hadoop code where these are received as args.
>
> Intention: to control while adding additional user input from command line
> arguments for the map reduce framework processing.
>

Could this not be done by using the Configuration object to pass in
additional options ? A little more information about your use-case
could help.

Thanks
Hemanth

> Timely Replies are much appreciated, Thanks in advance.
> --
> View this message in context: http://old.nabble.com/Hadoop-command-line-arguments-tp30366577p30366577.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.
>
>

Mime
View raw message