You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2013/12/27 22:32:50 UTC

[jira] [Commented] (HDFS-5409) TestOfflineEditsViewer#testStored fails on Windows due to CRLF line endings in editsStored.xml from git checkout

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

Chris Nauroth commented on HDFS-5409:
-------------------------------------

This problem is also fixed by the HDFS-5695 patch.  Resolving as duplicate.

> TestOfflineEditsViewer#testStored fails on Windows due to CRLF line endings in editsStored.xml from git checkout
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5409
>                 URL: https://issues.apache.org/jira/browse/HDFS-5409
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Chris Nauroth
>            Priority: Minor
>
> When doing a git checkout on Windows, hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml has CRLF line endings.  The offline edits viewer tool generates XML output with LF line endings.  This causes {{TestOfflineEditsViewer#testStored}} to fail when asserting that editsStored.xml and editsStoredParsed.xml have the same content.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)