hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjorn Jonsson <bjorn...@gmail.com>
Subject Re: Few noob MR questions
Date Sun, 14 Apr 2013 03:26:41 GMT
Correct, you can use java -jar to submit a job...with the "driver" code in
a plain static main method. I do it all the time. You can of course run a
Job straight from your IDE Java code also. You can check out the .runJar()
method in the Hadoop API Javadoc to see what the hadoop command does
essentially I think.


On Sat, Apr 13, 2013 at 3:59 PM, Jens Scheidtmann <
jens.scheidtmann@gmail.com> wrote:

> Dear Vjeran,
> your own jobs should implement the Tool Interface and ToolRunner. This
> gives additional standard options on the command line.
> Also have a look at class ProgramDriver as used here:
> https://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/ExampleDriver.java
> which further simplifies executing your MR jobs.
> Best regards,
> Jens

View raw message