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

Uma Maheswara Rao G commented on HDFS-6189:
-------------------------------------------

{noformat}
2014-04-03 23:20:58,890 ERROR common.Util (Util.java:stringAsURI(50)) - Syntax 
error in URI 
C:\Apache\Hadoop-3\hadoop-hdfs-project\hadoop-hdfs\target\test\data\zTJ32aTffU\TestNameNodeResourceChecker\name-dir2.
 Please check hdfs configuration.
java.net.URISyntaxException: Illegal character in opaque part at index 2: 
C:\Apache\Hadoop-3\hadoop-hdfs-project\hadoop-hdfs\target\test\data\zTJ32aTffU\TestNameNodeResourceChecker\name-dir2
        at java.net.URI$Parser.fail(URI.java:2810)
        at java.net.URI$Parser.checkChars(URI.java:2983)
        at java.net.URI$Parser.parse(URI.java:3020)
        at java.net.URI.<init>(URI.java:577)
        at org.apache.hadoop.hdfs.server.common.Util.stringAsURI(Util.java:48)
        at 
org.apache.hadoop.hdfs.server.common.Util.stringCollectionAsURIs(Util.java:98)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getStorageDirs(FSNamesystem.java:1275)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNamespaceEditsDirs(FSNamesystem.java:1320)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNamespaceEditsDirs(FSNamesystem.java:1289)
{noformat}

This errors are related to this JIRA right?  While running tests I am seeing 
this error logs from tests.

> Multiple HDFS tests fail on Windows attempting to use a test root path 
> containing a colon.
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6189
>                 URL: https://issues.apache.org/jira/browse/HDFS-6189
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>
> Some HDFS tests are attempting to use a test root path based on the 
> test.root.dir that we've defined for use on the local file system.  This 
> doesn't work on Windows because of the drive spec, i.e. C:.  HDFS rejects 
> paths containing a colon as invalid.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to