You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2012/10/19 20:15:13 UTC
[jira] [Updated] (HADOOP-8948) TestFileUtil.testGetDU fails on
Windows due to incorrect assumption of line separator
[ https://issues.apache.org/jira/browse/HADOOP-8948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HADOOP-8948:
----------------------------------
Attachment: HADOOP-8948.patch
> 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
> 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