Re: How to get Hadoop's Generic Options value

2015-02-20 Thread Rajesh Kartha
gt; From: unmeshab...@gmail.com > Date: Fri, 20 Feb 2015 10:04:38 +0530 > Subject: Re: How to get Hadoop's Generic Options value > To: user@hadoop.apache.org > > > Try implementing your program > > public class YourDriver extends Configured implements Tool { > > main()

RE: How to get Hadoop's Generic Options value

2015-02-19 Thread Haoming Zhang
Thanks guys, I will try your solutions later and update the result! From: unmeshab...@gmail.com Date: Fri, 20 Feb 2015 10:04:38 +0530 Subject: Re: How to get Hadoop's Generic Options value To: user@hadoop.apache.org Try implementing your program public class YourDriver extends Confi

Re: How to get Hadoop's Generic Options value

2015-02-19 Thread unmesha sreeveni
Try implementing your program public class YourDriver extends Configured implements Tool { main() run() } Then supply your file using -D option. Thanks Unmesha Biju

Re: How to get Hadoop's Generic Options value

2015-02-19 Thread 杨浩
why not trying > > -D files=/home/MapReduce/testFile.json 2015-02-20 5:03 GMT+08:00 Haoming Zhang : > Hi, > > > As you know, Hadoop support the Generic Options > . > For example you can use "-files" to specify files to

How to get Hadoop's Generic Options value

2015-02-19 Thread Haoming Zhang
Hi, As you know, Hadoop support the Generic Options. For example you can use "-files" to specify files to be copied to the map reduce cluster. But how to get the value of Generic Options? For example, I have a command that is : hadoop jar job.jar JobClass -files /home/MapR