hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8948) TestFileUtil.testGetDU fails on Windows due to incorrect assumption of line separator
Date Sat, 20 Oct 2012 13:04:16 GMT

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

Hudson commented on HADOOP-8948:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #1201 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1201/])
    HADOOP-8948. TestFileUtil.testGetDU fails on Windows due to incorrect assumption of line
separator. Contributed by Chris Nauroth. (Revision 1400324)

     Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1400324
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileUtil.java

                
> TestFileUtil.testGetDU fails on Windows due to incorrect assumption of line separator
> -------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8948
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8948
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HADOOP-8948-branch-trunk-win.patch, HADOOP-8948.patch
>
>
> The test asserts 8 bytes of disk usage, based on 2 files, each containing a single line
of 3 characters followed by line terminator.  This is fine for Unix line endings (1 additional
byte) but incorrect for Windows line endings (2 additional bytes).

--
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

Mime
View raw message