hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy Ryza (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-417) Create AMRMClient wrapper that provides asynchronous callbacks
Date Fri, 22 Mar 2013 17:21:16 GMT

    [ https://issues.apache.org/jira/browse/YARN-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610954#comment-13610954
] 

Sandy Ryza commented on YARN-417:
---------------------------------

Agreed about fixing the Jenkins script.  In general, I also don't think it's invalid for an
AM to exit without launching a container, and AMRMClientAsync does nothing to prevent this.
 But in the case of distributed shell, I don't think it makes sense to run a shell command
with no containers to execute it.

I will attach an addendum patch that fails distributed shell early if the number of containers
is 0, amend the test to use 1 container, and add a timeout.
                
> Create AMRMClient wrapper that provides asynchronous callbacks
> --------------------------------------------------------------
>
>                 Key: YARN-417
>                 URL: https://issues.apache.org/jira/browse/YARN-417
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, applications
>    Affects Versions: 2.0.3-alpha
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>         Attachments: AMRMClientAsync-1.java, AMRMClientAsync.java, YARN-417-1.patch,
YARN-417-2.patch, YARN-417-3.patch, YARN-417-4.patch, YARN-417-4.patch, YARN-417-5.patch,
YARN-417-6.patch, YARN-417.patch, YarnAppMaster.java, YarnAppMasterListener.java
>
>
> Writing AMs would be easier for some if they did not have to handle heartbeating to the
RM on their own.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message