You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Giovanni Matteo Fumarola (JIRA)" <ji...@apache.org> on 2018/05/18 23:59:00 UTC
[jira] [Commented] (YARN-8327) Fix
TestAggregatedLogFormat#testReadAcontainerLogs1 on Windows
[ https://issues.apache.org/jira/browse/YARN-8327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481367#comment-16481367 ]
Giovanni Matteo Fumarola commented on YARN-8327:
------------------------------------------------
Before the patch:
!image-2018-05-18-16-51-47-324.png!
After the patch:
!image-2018-05-18-16-52-08-250.png!
I validated in Linux as well.
The length of System.lineSeparator() in Windows is equal to 2 while in Linux is 1.
In the logline, there are 2 consecutive line separators that in Windows are converted to \r\n\n. Due to this, I changed every *\n* but one.
> Fix TestAggregatedLogFormat#testReadAcontainerLogs1 on Windows
> --------------------------------------------------------------
>
> Key: YARN-8327
> URL: https://issues.apache.org/jira/browse/YARN-8327
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Giovanni Matteo Fumarola
> Priority: Major
> Attachments: YARN-8327.v1.patch, image-2018-05-18-16-51-47-324.png, image-2018-05-18-16-52-08-250.png
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org