You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2009/12/09 02:26:18 UTC
[jira] Created: (HDFS-815) FileContext tests fail on Windows
FileContext tests fail on Windows
---------------------------------
Key: HDFS-815
URL: https://issues.apache.org/jira/browse/HDFS-815
Project: Hadoop HDFS
Issue Type: Bug
Components: test
Affects Versions: 0.21.0
Reporter: Konstantin Shvachko
Fix For: 0.21.0
The following FileContext-related tests are failing on windows because of incorrect use "test.build.data" system property for setting hdfs paths, which end up containing "C:" as a path component, which hdfs does not support.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HDFS-815) FileContext tests fail on Windows
Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko updated HDFS-815:
-------------------------------------
Description:
The following FileContext-related tests are failing on windows because of incorrect use "test.build.data" system property for setting hdfs paths, which end up containing "C:" as a path component, which hdfs does not support.
{code}
org.apache.hadoop.fs.TestFcHdfsCreateMkdir
org.apache.hadoop.fs.TestFcHdfsPermission
org.apache.hadoop.fs.TestHDFSFileContextMainOperations
{code}
was:The following FileContext-related tests are failing on windows because of incorrect use "test.build.data" system property for setting hdfs paths, which end up containing "C:" as a path component, which hdfs does not support.
Environment: Windows
> FileContext tests fail on Windows
> ---------------------------------
>
> Key: HDFS-815
> URL: https://issues.apache.org/jira/browse/HDFS-815
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 0.21.0
> Environment: Windows
> Reporter: Konstantin Shvachko
> Fix For: 0.21.0
>
>
> The following FileContext-related tests are failing on windows because of incorrect use "test.build.data" system property for setting hdfs paths, which end up containing "C:" as a path component, which hdfs does not support.
> {code}
> org.apache.hadoop.fs.TestFcHdfsCreateMkdir
> org.apache.hadoop.fs.TestFcHdfsPermission
> org.apache.hadoop.fs.TestHDFSFileContextMainOperations
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-815) FileContext tests fail on Windows
Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787855#action_12787855 ]
Konstantin Shvachko commented on HDFS-815:
------------------------------------------
Here are examples of typical exceptions from the tests:
TestFcHdfsCreateMkdir
{code}
Testcase: testMkdirNonRecursiveWithExistingDir took 0 sec
Caused an ERROR
Path part /c:/Work/Projects/hdfs/build/test/data/test from URIhdfs://localhost:2064/c:/Work/Projects/hdfs/build/test/data/test is not a valid filename.
java.lang.IllegalArgumentException: Path part /c:/Work/Projects/hdfs/build/test/data/test from URIhdfs://localhost:2064/c:/Work/Projects/hdfs/build/test/data/test is not a valid filename.
at org.apache.hadoop.fs.AbstractFileSystem.getUriPath(AbstractFileSystem.java:323)
at org.apache.hadoop.fs.Hdfs.mkdir(Hdfs.java:136)
at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:547)
at org.apache.hadoop.fs.FileContextCreateMkdirBaseTest.setUp(FileContextCreateMkdirBaseTest.java:87)
at org.apache.hadoop.fs.TestFcHdfsCreateMkdir.setUp(TestFcHdfsCreateMkdir.java:59)
Caused an ERROR
Path part /c:/Work/Projects/hdfs/build/test/data/test from URIhdfs://localhost:2064/c:/Work/Projects/hdfs/build/test/data/test is not a valid filename.
java.lang.IllegalArgumentException: Path part /c:/Work/Projects/hdfs/build/test/data/test from URIhdfs://localhost:2064/c:/Work/Projects/hdfs/build/test/data/test is not a valid filename.
at org.apache.hadoop.fs.AbstractFileSystem.getUriPath(AbstractFileSystem.java:323)
at org.apache.hadoop.fs.Hdfs.delete(Hdfs.java:86)
at org.apache.hadoop.fs.FileContext.delete(FileContext.java:562)
at org.apache.hadoop.fs.FileContextCreateMkdirBaseTest.tearDown(FileContextCreateMkdirBaseTest.java:92)
at org.apache.hadoop.fs.TestFcHdfsCreateMkdir.tearDown(TestFcHdfsCreateMkdir.java:65)
{code}
TestFcHdfsPermission
{code}
Testcase: testCreatePermission took 0 sec
Caused an ERROR
Path part /c:/Work/Projects/hdfs/build/test/data/TestLocalFileSystemPermission_ from URIhdfs://localhost:1294/c:/Work/Projects/hdfs/build/test/data/TestLocalFileSystemPermission_ is not a valid filename.
java.lang.IllegalArgumentException: Path part /c:/Work/Projects/hdfs/build/test/data/TestLocalFileSystemPermission_ from URIhdfs://localhost:1294/c:/Work/Projects/hdfs/build/test/data/TestLocalFileSystemPermission_ is not a valid filename.
at org.apache.hadoop.fs.AbstractFileSystem.getUriPath(AbstractFileSystem.java:323)
at org.apache.hadoop.fs.Hdfs.mkdir(Hdfs.java:136)
at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:547)
at org.apache.hadoop.fs.FileContextPermissionBase.setUp(FileContextPermissionBase.java:87)
at org.apache.hadoop.fs.TestFcHdfsPermission.setUp(TestFcHdfsPermission.java:60)
{code}
TestHDFSFileContextMainOperations
{code}
Testcase: testRenameWithQuota took 0 sec
Caused an ERROR
Path part /user/shv/c:/Work/Projects/hdfs/build/test/data/test from URIhdfs://localhost:1360/user/shv/c:/Work/Projects/hdfs/build/test/data/test is not a valid filename.
java.lang.IllegalArgumentException: Path part /user/shv/c:/Work/Projects/hdfs/build/test/data/test from URIhdfs://localhost:1360/user/shv/c:/Work/Projects/hdfs/build/test/data/test is not a valid filename.
at org.apache.hadoop.fs.AbstractFileSystem.getUriPath(AbstractFileSystem.java:323)
at org.apache.hadoop.fs.Hdfs.mkdir(Hdfs.java:136)
at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:547)
at org.apache.hadoop.fs.FileContextMainOperationsBaseTest.setUp(FileContextMainOperationsBaseTest.java:118)
at org.apache.hadoop.fs.TestHDFSFileContextMainOperations.setUp(TestHDFSFileContextMainOperations.java:77)
{code}
TestNameNodeMetrics
{code}
Testcase: testFileAdd took 28.407 sec
Caused an ERROR
Pathname /c:/Work/Projects/hdfs/build/test/data from c:/Work/Projects/hdfs/build/test/data is not a valid DFS filename.
java.lang.IllegalArgumentException: Pathname /c:/Work/Projects/hdfs/build/test/data from c:/Work/Projects/hdfs/build/test/data is not a valid DFS filename.
at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:167)
at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirs(DistributedFileSystem.java:334)
at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1476)
at org.apache.hadoop.hdfs.DFSTestUtil.createFile(DFSTestUtil.java:132)
at org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.createFile(TestNameNodeMetrics.java:83)
at org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics.testFileAdd(TestNameNodeMetrics.java:97)
{code}
> FileContext tests fail on Windows
> ---------------------------------
>
> Key: HDFS-815
> URL: https://issues.apache.org/jira/browse/HDFS-815
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 0.21.0
> Environment: Windows
> Reporter: Konstantin Shvachko
> Fix For: 0.21.0
>
>
> The following FileContext-related tests are failing on windows because of incorrect use "test.build.data" system property for setting hdfs paths, which end up containing "C:" as a path component, which hdfs does not support.
> {code}
> org.apache.hadoop.fs.TestFcHdfsCreateMkdir
> org.apache.hadoop.fs.TestFcHdfsPermission
> org.apache.hadoop.fs.TestHDFSFileContextMainOperations
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HDFS-815) FileContext tests fail on Windows
Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko updated HDFS-815:
-------------------------------------
Description:
The following FileContext-related tests are failing on windows because of incorrect use "test.build.data" system property for setting hdfs paths, which end up containing "C:" as a path component, which hdfs does not support.
{code}
org.apache.hadoop.fs.TestFcHdfsCreateMkdir
org.apache.hadoop.fs.TestFcHdfsPermission
org.apache.hadoop.fs.TestHDFSFileContextMainOperations
org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics
{code}
was:
The following FileContext-related tests are failing on windows because of incorrect use "test.build.data" system property for setting hdfs paths, which end up containing "C:" as a path component, which hdfs does not support.
{code}
org.apache.hadoop.fs.TestFcHdfsCreateMkdir
org.apache.hadoop.fs.TestFcHdfsPermission
org.apache.hadoop.fs.TestHDFSFileContextMainOperations
{code}
> FileContext tests fail on Windows
> ---------------------------------
>
> Key: HDFS-815
> URL: https://issues.apache.org/jira/browse/HDFS-815
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 0.21.0
> Environment: Windows
> Reporter: Konstantin Shvachko
> Fix For: 0.21.0
>
>
> The following FileContext-related tests are failing on windows because of incorrect use "test.build.data" system property for setting hdfs paths, which end up containing "C:" as a path component, which hdfs does not support.
> {code}
> org.apache.hadoop.fs.TestFcHdfsCreateMkdir
> org.apache.hadoop.fs.TestFcHdfsPermission
> org.apache.hadoop.fs.TestHDFSFileContextMainOperations
> org.apache.hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.