hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manikandan R (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (YARN-4175) Example of use YARN-1197
Date Tue, 31 Jul 2018 17:46:00 GMT

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

Manikandan R edited comment on YARN-4175 at 7/31/18 5:45 PM:
-------------------------------------------------------------

Thanks [~asuresh]. Updated earlier patch to do unit conversions for resource types based on
units configured at server side if there is any difference in units between client side and
server side (given units are not empty at both sides), rather than simply converting it to
"Mi". For "memory" Mandatory resource, "Mi" would be assumed as unit if clients doesn't
specify units and conversion would happen only if there is any difference between both values 
 (given units are not empty at both sides). For "vcores" Mandatory resource,  assuming unit
is going to be empty always, left the code as it is. Also added a test case to cover this
case as well. Please review .004 patch.


was (Author: manirajv06@gmail.com):
Thanks [~asuresh]. Updated earlier patch to do unit conversions for resource types if there
is any difference in units between client side and server side (given units are not empty
at both sides), rather than simply converting it to "Mi". For "memory" Mandatory resource, "Mi"
would be assumed as unit if clients doesn't specify units and conversion would happen only
if there is any difference between both values 
(given units are not empty at both sides). For "vcores" Mandatory resource,  assuming unit
is going to be empty always, left the code as it is. Also added a test case to cover this
case as well. Please review .004 patch.

> Example of use YARN-1197
> ------------------------
>
>                 Key: YARN-4175
>                 URL: https://issues.apache.org/jira/browse/YARN-4175
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, nodemanager, resourcemanager
>            Reporter: Wangda Tan
>            Assignee: MENG DING
>            Priority: Major
>         Attachments: YARN-4175.003.patch, YARN-4175.004.patch, YARN-4175.1.patch, YARN-4175.2.patch
>
>
> Like YARN-2609, we need a example program to demonstrate how to use YARN-1197 from end-to-end.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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