[ https://issues.apache.org/jira/browse/YARN-10697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17303747#comment-17303747 ]
Jim Brennan commented on YARN-10697: ------------------------------------ [~BilwaST] I agree about the bug in MetricsOverviewTable.render(). Unless I am misunderstanding, the else case is improperly using bytes where it should be using MB. I am not sure about the change to Resource.toString() though. That is used in a lot of places and I am not sure if all of those places would prefer the terser MB|GB|TB format. [~epayne], [~jhung] what do you think? > Resources are displayed in bytes in UI for schedulers other than capacity > ------------------------------------------------------------------------- > > Key: YARN-10697 > URL: https://issues.apache.org/jira/browse/YARN-10697 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Bilwa S T > Assignee: Bilwa S T > Priority: Major > Attachments: YARN-10697.001.patch, image-2021-03-17-11-30-57-216.png > > > Resources.newInstance expects MB as memory whereas in MetricsOverviewTable > passes resources in bytes . Also we should display memory in GB for better > readability for user. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org