hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9219) Unable to Invoke MapReduce from Yarn REST API
Date Tue, 22 Jan 2019 11:38:00 GMT
Namit created YARN-9219:

             Summary: Unable to Invoke MapReduce from Yarn REST API
                 Key: YARN-9219
                 URL: https://issues.apache.org/jira/browse/YARN-9219
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn
         Environment: Vanilla Hadoop 2.9.2 and HDP 3+
            Reporter: Namit

The following description shows how REST API can be used to invoke Yarn jobs:


But we are unable to do this to run MapReduce.
We can't use YARN Resource Manager API(s) to execute (submit) map-reduce applications. As
documented here [YARN (RM) REST API(s)|http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Applications_APISubmit_Application] mechanism
to use RM API(s) involve retrieving application ID and then submit the application. It works
fine for the Spark Job but not really for MapReduce Jobs. 

If we execute a map-reduce application using these API(s), on completion of the sub-process
parent application fails with  "Application application_xx_00xx failed 1 times (global limit
=2; local limit is =1) due to AM Container for appattempt_xx_00xx_000001 exited with exitCode:
0". You can see in the image it will launch two tasks parent and sub-task. Even after successful
completion of sub-task parent task reports a failure. 

I think it is a bug. Yarn should be able to support REST Api access for MapReduce. 

Links where this problems are highlighted:


This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org

View raw message