[ 
https://issues.apache.org/jira/browse/HDFS-7328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205112#comment-14205112
 ] 

Colin Patrick McCabe commented on HDFS-7328:
--------------------------------------------

Thanks for fixing this, [~cnauroth].  In C and C++, {{"\n"}} is expanded into 
the platform-specific newline sequence.  See 
http://stackoverflow.com/questions/6891252/c-newline-character-under-windows-command-line-redirection
 .  It seems like Java chose to do things differently and as a consequence we 
probably have a lot of these cases.

> TestTraceAdmin assumes Unix line endings.
> -----------------------------------------
>
>                 Key: HDFS-7328
>                 URL: https://issues.apache.org/jira/browse/HDFS-7328
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Trivial
>             Fix For: 2.6.0
>
>         Attachments: HDFS-7328.1.patch
>
>
> {{TestTraceAdmin}} contains some string assertions that assume Unix line 
> endings.  The test fails on Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to