hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6040) Remove usage of ResourceRequest from AppSchedulerInfo / SchedulerApplicationAttempt
Date Fri, 06 Jan 2017 04:41:58 GMT

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

Arun Suresh commented on YARN-6040:
-----------------------------------

Thanks for the updated patch Wangda,
The latest patch looks good to me.

Will commit it tomorrow if no objections.
BTW, Some of the checkstyles look fixable.. will take care of it when I commit.

> Remove usage of ResourceRequest from AppSchedulerInfo / SchedulerApplicationAttempt
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-6040
>                 URL: https://issues.apache.org/jira/browse/YARN-6040
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>         Attachments: YARN-6040.001.patch, YARN-6040.002.patch, YARN-6040.003.patch, YARN-6040.004.patch,
YARN-6040.005.patch, YARN-6040.006.patch, YARN-6040.007.patch
>
>
> As mentioned by YARN-5906, currently schedulers are using ResourceRequest heavily so
it will be very hard to adopt the new PowerfulResourceRequest (YARN-4902).
> This JIRA is the 2nd step of refactoring, which remove usage of ResourceRequest from
AppSchedulingInfo / SchedulerApplicationAttempt. Instead of returning ResourceRequest, it
returns a lightweight and API-independent object - {{PendingAsk}}.
> The only remained ResourceRequest API of AppSchedulingInfo will be used by web service
to get list of ResourceRequests.
> So after this patch, usage of ResourceRequest will be isolated inside AppSchedulingInfo,
so it will be more flexible to update internal data structure and upgrade old ResourceRequest
API to new.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message