hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1424) RMAppAttemptImpl should precompute a zeroed ApplicationResourceUsageReport to return when attempt not active
Date Tue, 19 Nov 2013 21:05:21 GMT

     [ https://issues.apache.org/jira/browse/YARN-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Lowe updated YARN-1424:
-----------------------------

    Priority: Minor  (was: Major)
     Summary: RMAppAttemptImpl should precompute a zeroed ApplicationResourceUsageReport to
return when attempt not active  (was: RMAppAttemptImpl should have a dummy ApplicationResourceUsageReport
to return when )

> RMAppAttemptImpl should precompute a zeroed ApplicationResourceUsageReport to return
when attempt not active
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-1424
>                 URL: https://issues.apache.org/jira/browse/YARN-1424
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>            Reporter: Sandy Ryza
>            Priority: Minor
>              Labels: newbie
>
> RMAppImpl has a DUMMY_APPLICATION_RESOURCE_USAGE_REPORT to return when the caller of
createAndGetApplicationReport doesn't have access.
> RMAppAttemptImpl should have something similar for getApplicationResourceUsageReport.
> It also might make sense to put the dummy report into ApplicationResourceUsageReport
and allow both to use it.
> A test would also be useful to verify that RMAppAttemptImpl#getApplicationResourceUsageReport
doesn't return null if the scheduler doesn't have a report to return.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message