[ 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 (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org