[ https://issues.apache.org/jira/browse/YARN-8843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16638344#comment-16638344 ]
Íñigo Goiri commented on YARN-8843: ----------------------------------- [~sunilg], the behavior is broken. If you try the unit test without the fix, you'll see that the resource is 1MB. I saw this very same behavior in my cluster; I set the memory to 1Gi and the memory for the NM becomes 1MB. I'm not sure if the fix I proposed is in the best place but the unit test is. > updateNodeResource does not support units for memory > ---------------------------------------------------- > > Key: YARN-8843 > URL: https://issues.apache.org/jira/browse/YARN-8843 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Íñigo Goiri > Assignee: Íñigo Goiri > Priority: Minor > Attachments: YARN-8843.000.patch > > > When doing -updateNodeResource memory-mb=1Gi, it assigns 1MB. -- 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