hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Yan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-2128) SchedulerApplicationAttempt's amResource should be normalized instead of fetching from ApplicationSubmissionContext directly
Date Fri, 06 Jun 2014 00:04:01 GMT
Wei Yan created YARN-2128:
-----------------------------

             Summary: SchedulerApplicationAttempt's amResource should be normalized instead
of fetching from ApplicationSubmissionContext directly
                 Key: YARN-2128
                 URL: https://issues.apache.org/jira/browse/YARN-2128
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Wei Yan
            Assignee: Wei Yan


The amResource should be normalized.
{code}
    ApplicationSubmissionContext appSubmissionContext =
        rmContext.getRMApps().get(applicationAttemptId.getApplicationId())
            .getApplicationSubmissionContext();
    if (appSubmissionContext != null) {
        amResource = appSubmissionContext.getResource();
        unmanagedAM = appSubmissionContext.getUnmanagedAM();
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message