Yes you can this. Take a look at JobClient.runJob and JobClient.submitJob.
George
On 2012/04/06 7:50, GUOJUN Zhu wrote:
We are building a system with hadoop mapreq as the back-end
distributing-computing engine. The front-end is also in java. So it
will be nice to start a hadoop job, or interact with hdfs directly
within java, not invoking the hadoop script. Is there any tutorial or
guide for this? Otherwise, I have to read through all the hadoop
script to simulate the proper setting. Thank you very much.
Zhu, Guojun
Modeling Sr Graduate
571-3824370
guojun_...@freddiemac.com
Financial Engineering
Freddie Mac