[ https://issues.apache.org/jira/browse/YARN-8738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16666083#comment-16666083 ]
Szilard Nemeth edited comment on YARN-8738 at 11/15/18 8:28 PM: ---------------------------------------------------------------- Hi [~Sen Zhao]! I think parsing a negative values as positive is not intended. Do you have a testcase that proves the bug? If not, I would happily write some if you agree. Thanks! was (Author: snemeth): 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 > Assignee: Szilard Nemeth > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org