hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szilard Nemeth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-8738) FairScheduler configures maxResources or minResources as negative, the value parse to a positive number.
Date Sat, 27 Oct 2018 13:17:00 GMT

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

Szilard Nemeth commented on YARN-8738:
--------------------------------------

Hi [~Sen Zhao]!
I think parsing a negative values as posivtive is not intended.
Do you have a testcase that proves the bug?
If not, I would happily write some if you agree.
Thanks!

> FairScheduler configures maxResources or minResources as negative, the value parse to
a positive number.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-8738
>                 URL: https://issues.apache.org/jira/browse/YARN-8738
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 3.2.0
>            Reporter: Sen Zhao
>            Priority: Major
>
> If maxResources or minResources is configured as a negative number, the value will be
positive after parsing.
> If this is a problem, I will fix it. If not, the FairSchedulerConfiguration#parseNewStyleResource
parse negative number should be same with parseOldStyleResource .
> cc:[~templedf], [~leftnoteasy]



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