[
https://issues.apache.org/jira/browse/YARN-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15142398#comment-15142398
]
Varun Vasudev commented on YARN-4684:
-------------------------------------
Thanks for the patch [~bibinchundatt]. One minor fix - instead of calling
{code} sysOutStream.toString("UTF-8") {code} in {code} +
Assert.assertEquals(appReportStr, sysOutStream.toString("UTF-8")); {code} can
you use {code} actualOutput {code} which you create earlier in {code} +
String actualOutput = sysOutStream.toString("UTF-8"); {code} ?
> TestYarnCLI#testGetContainers failing in trunk
> -----------------------------------------------
>
> Key: YARN-4684
> URL: https://issues.apache.org/jira/browse/YARN-4684
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: yarn
> Reporter: Bibin A Chundatt
> Assignee: Bibin A Chundatt
> Attachments: 0001-YARN-4684.patch
>
>
> TestYarnCLI#testGetContainers failing in CN locale
> {noformat}
> 2016-02-10 12:32:24,309 INFO mortbay.log (Slf4jLog.java:info(67)) - [Total
> number of containers :3
> Container-Id Start Time Finish
> Time State Host Node Http Address
> LOG-URL
> container_1234_0005_01_000001 ?????? ??? 01 08:00:01 +0800 1970
> ?????? ??? 01 08:00:05 +0800 1970 COMPLETE
> host:1234 http://host:2345 logURL
> container_1234_0005_01_000002 ?????? ??? 01 08:00:01 +0800 1970
> ?????? ??? 01 08:00:05 +0800 1970 COMPLETE
> host:1234 http://host:2345 logURL
> container_1234_0005_01_000003 ?????? ??? 01 08:00:01 +0800 1970
> N/A RUNNING host:1234
> http://host:2345
> ]
> 2016-02-10 12:32:24,309 INFO mortbay.log (Slf4jLog.java:info(67)) -
> OutputFrom command
> 2016-02-10 12:32:24,309 INFO mortbay.log (Slf4jLog.java:info(67)) - [Total
> number of containers :3
> Container-Id Start Time Finish
> Time State Host Node Http Address
> LOG-URL
> container_1234_0005_01_000001 鏄熸湡鍥? 涓?鏈? 01 08:00:01 +0800 1970
> 鏄熸湡鍥? 涓?鏈? 01 08:00:05 +0800 1970 COMPLETE
> host:1234 http://host:2345 logURL
> container_1234_0005_01_000002 鏄熸湡鍥? 涓?鏈? 01 08:00:01 +0800 1970
> 鏄熸湡鍥? 涓?鏈? 01 08:00:05 +0800 1970 COMPLETE
> host:1234 http://host:2345 logURL
> container_1234_0005_01_000003 鏄熸湡鍥? 涓?鏈? 01 08:00:01 +0800 1970
> N/A RUNNING host:1234
> http://host:2345
> ]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)