hadoop—资源管理器在通过RESTAPI提交作业时生成两个应用程序

vfwfrxfs  于 2021-06-02  发布在  Hadoop
关注(0)|答案(0)|浏览(170)

通过rest句柄提交我的应用程序时(如中所述)http://hadoop.apache.org/docs/r2.6.0/hadoop-yarn/hadoop-yarn-site/resourcemanagerrest.html#cluster_new_application_api)我不断得到两个应用程序,它们的编号是:一个在request中指定的用户(“me”)下,另一个在“yarn”用户下。

{
   "keep-containers-across-application-attempts":"false",
   "application-id":"application_1437150092132_66579",
   "application-name":"myapplication",
   "application-type":"YARN",
   "am-container-spec":{
   "environment":{
     "entry":[
        {
           "value":"etc/hadoop/conf<CPS>/etc/hadoop/conf<CPS>/etc/hadoop/conf<CPS>/usr/lib/hadoop/lib/*<CPS>/usr/lib/hadoop/.//*<CPS>/usr/lib/hadoop-hdfs/./<CPS>",
           "key":"CLASSPATH"
        }
     ]
  },
  "commands":{
     "command":"{{JAVA_HOME}}/bin/java -Xmx1000m net.mystreaming.hadoop.streaming2.MyStreaming -D mapreduce.job.queuename=root.default -mapper cat -reducer NONE -input /empty.seq -output /tmp/someoutput"
  }
   },
   "user":"me",
   "queue":"root.default",
   "unmanaged-AM":"false"
}`

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题