hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 杨浩 <yangha...@gmail.com>
Subject Re: Submit mapreduce job in remote YARN
Date Sat, 21 Feb 2015 00:40:04 GMT
yes, you can do this in java, if these conditions are satisfied

   1. your client is in the same network with the hadoop cluster
   2. add the hadoop configuration to your java classpath, then the jvm
   will load the hadoop configuration

but the suggesttiong way is

> hadoop jar

2015-02-20 19:18 GMT+08:00 xeonmailinglist <xeonmailinglist@gmail.com>:

> Hi,
> I would like to submit a mapreduce job in a remote YARN cluster. Can I do
> this in java, or using  a REST API?
> Thanks,

View raw message