Re: simple hadoop MR program to be executed using java

2015-01-17 Thread rab ra
On Sat, Jan 17, 2015 at 12:33 AM, Chris Nauroth wrote: > Hello Rab, > > There is actually quite a lot of logic in the "hadoop jar" shell scripts > to set up the classpath (including Hadoop configuration file locations) and > set up extra arguments (like heap sizes and log file locations). It is

Re: simple hadoop MR program to be executed using java

2015-01-16 Thread Chris Nauroth
Hello Rab, There is actually quite a lot of logic in the "hadoop jar" shell scripts to set up the classpath (including Hadoop configuration file locations) and set up extra arguments (like heap sizes and log file locations). It is possible to replicate it with a straight java call, but it might n

simple hadoop MR program to be executed using java

2015-01-16 Thread rab ra
Hello, I have a simple java program that sets up a MR job. I could successfully execute this in Hadoop infrastructure (hadoop 2x) using 'hadoop jar '. But I want to achieve the same thing using java command as below. java 1. How can I pass hadoop configuration to this className? 2. What extra a