hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Liang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13570) TestQuotaByStorageType,TestQuota,TestDFSOutputStream fail on Windows
Date Wed, 16 May 2018 09:49:00 GMT

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

Xiao Liang commented on HDFS-13570:
-----------------------------------

[~elgoiri] yes this is a typical issue of org.apache.hadoop.fs.Path class under Windows, while
java.io.File is doing the right thing.

I think the implement of org.apache.hadoop.fs.Path might need some revision, and for now [^HDFS-13570.000.patch] is
a reasonable fix for the test cases failed on Windows.

+1 and thanks [~huanbang1993] for the fix.

> TestQuotaByStorageType,TestQuota,TestDFSOutputStream fail on Windows
> --------------------------------------------------------------------
>
>                 Key: HDFS-13570
>                 URL: https://issues.apache.org/jira/browse/HDFS-13570
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Anbang Hu
>            Assignee: Anbang Hu
>            Priority: Major
>              Labels: Windows
>         Attachments: HDFS-13570.000.patch
>
>
> [Daily Windows build|https://builds.apache.org/job/hadoop-trunk-win/467/testReport/]
shows that the following 20 test cases fail on Windows with same error "Pathname /F:/short/hadoop-trunk-win/s/hadoop-hdfs-project/hadoop-hdfs/target/test/data/wzEFWgBokV/TestQuotaByStorageType/testStorageSpaceQuotaWithRepFactor
from F:/short/hadoop-trunk-win/s/hadoop-hdfs-project/hadoop-hdfs/target/test/data/wzEFWgBokV/TestQuotaByStorageType/testStorageSpaceQuotaWithRepFactor
is not a valid DFS filename.":
> {code:java}
> TestQuotaByStorageType#testStorageSpaceQuotaWithRepFactor
> TestQuotaByStorageType#testStorageSpaceQuotaPerQuotaClear
> TestQuotaByStorageType#testStorageSpaceQuotaWithWarmPolicy
> TestQuota#testQuotaCommands
> TestQuota#testSetAndClearSpaceQuotaRegular
> TestQuota#testQuotaByStorageType
> TestQuota#testNamespaceCommands
> TestQuota#testSetAndClearSpaceQuotaByStorageType
> TestQuota#testMaxSpaceQuotas
> TestQuota#testSetAndClearSpaceQuotaNoAccess
> TestQuota#testSpaceQuotaExceptionOnAppend
> TestQuota#testSpaceCommands
> TestQuota#testBlockAllocationAdjustsUsageConservatively
> TestQuota#testMultipleFilesSmallerThanOneBlock
> TestQuota#testHugeFileCount
> TestQuota#testSetAndClearSpaceQuotaPathIsFile
> TestQuota#testSetSpaceQuotaNegativeNumber
> TestQuota#testSpaceQuotaExceptionOnClose
> TestQuota#testSpaceQuotaExceptionOnFlush
> TestDFSOutputStream#testPreventOverflow{code}
> There are 2 test cases failing with error "It should be one line error message like:
clrSpaceQuota: Directory does not exist: <full path of XXX directory> expected:<1>
but was:<2>"
> {code:java}
> TestQuota#testSetAndClearSpaceQuotaPathIsFile
> TestQuota#testSetAndClearSpaceQuotaDirecotryNotExist
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message