hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rosenstrauch <dar...@darose.net>
Subject Re: Starting a Hadoop job programtically
Date Mon, 22 Nov 2010 21:51:44 GMT
On 11/22/2010 04:39 PM, praveen.peddi@nokia.com wrote:
> Hi all, I am trying to figure how I can start a hadoop job
> porgramatically from my Java application running in an app server. I
> was able to run my map reduce job using hadoop command from hadoop
> master machine but my goal is to run the same job from my java
> program (running on a different machine than master). I googled and
> could not find solution for this. All the examples I have seen so far
> are using hadoop from command line to start a job.
>
> 1. Has anyone called Hadoop job invocation from a Java application?
> 2. If so, could someone provide some sample code. 3.
>
> Thanks Praveen

http://hadoop.apache.org/common/docs/r0.20.1/api/org/apache/hadoop/mapreduce/Job.html#submit%28%29

Mime
View raw message