: 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()
run()
}
Then supply your file using -D option
Try implementing your program
public class YourDriver extends Configured implements Tool {
main()
run()
}
Then supply your file using -D option.
Thanks
Unmesha Biju
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 Configured
why not trying
-D files=/home/MapReduce/testFile.json
2015-02-20 5:03 GMT+08:00 Haoming Zhang haoming.zh...@outlook.com:
Hi,
As you know, Hadoop support the Generic Options
http://hadoop.apache.org/docs/r1.2.1/commands_manual.html#Generic+Options.
For example you can use -files to