[ 
https://issues.apache.org/jira/browse/YARN-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated YARN-377:
-------------------------------

    Attachment: YARN-377.1.patch

This patch updates {{ContainersMonitorImpl}} to stop using the recently 
deprecated {{StringUtils#humanReadableInt}} and updates the regex in 
{{TestContainersMonitor}} to match the new format.  Just to be safe, I made the 
regex flexible enough to match any prefix that could be returned from 
{{StringUtils#TraditionalBinaryPrefix#long2String}}, even though we're unlikely 
to see memory usage measured in the exabytes on our dev machines.  :-)
                
> Fix test failure for HADOOP-9252
> --------------------------------
>
>                 Key: YARN-377
>                 URL: https://issues.apache.org/jira/browse/YARN-377
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Chris Nauroth
>            Priority: Minor
>         Attachments: YARN-377.1.patch
>
>
> HADOOP-9252 slightly changes the format of some StringUtils outputs.  It may 
> cause test failures.
> Also, some methods were deprecated by HADOOP-9252.  The use of them should be 
> replaced with the new methods.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to