hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11434) TestQuota fails in windows
Date Wed, 22 Feb 2017 02:25:44 GMT

     [ https://issues.apache.org/jira/browse/HDFS-11434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Brahma Reddy Battula updated HDFS-11434:
    Attachment: HDFS-11434-002.patch

[~linyiqun] and [~liuml07] ,thanks for looking into this issue..

bq. I am thinking we can add the additional operation to get a valid path in case the operation
system is Windows.

Yes, it's make sense.

bq. p.s. public static Path getTestPath(Class<?> caller, boolean create) should be calling
getTestDirName(caller, create);?

I also feel, it should be called this, orelse {{create}} param will not used..

Uploading the patch to address all this.

> TestQuota fails in windows
> --------------------------
>                 Key: HDFS-11434
>                 URL: https://issues.apache.org/jira/browse/HDFS-11434
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: HDFS-11434-002.patch, HDFS-11434.patch
> {noformat}
> java.lang.IllegalArgumentException: Pathname /D:/hadoop-trunk/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/qTr6mgA9Yv/TestQuota/testQuotaCommands
from D:/hadoop-trunk/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/qTr6mgA9Yv/TestQuota/testQuotaCommands
is not a valid DFS filename.
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:212)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem$25.doCall(DistributedFileSystem.java:1119)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem$25.doCall(DistributedFileSystem.java:1116)
> 	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirsInternal(DistributedFileSystem.java:1133)
> 	at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirs(DistributedFileSystem.java:1108)
> 	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:2218)
> {noformat}

This message was sent by Atlassian JIRA

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

View raw message