hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-12331) Ozone: ozone mini cluster can't start up on Windows after HDFS-12159
Date Mon, 21 Aug 2017 09:42:00 GMT
Yiqun Lin created HDFS-12331:
--------------------------------

             Summary: Ozone: ozone mini cluster can't start up on Windows after HDFS-12159
                 Key: HDFS-12331
                 URL: https://issues.apache.org/jira/browse/HDFS-12331
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ozone
    Affects Versions: HDFS-7240
            Reporter: Yiqun Lin
            Assignee: Yiqun Lin


ozone mini cluster can't start up on Windows after HDFS-12159. 
The error log:
{noformat}
java.net.URISyntaxException: Illegal character in opaque part at index 2: D:\work-project\hadoop\hadoop-hdfs-project\hadoop-hdfs\target\test\data\dfs\data\dn0_data-1\3d3d5718-4219-4ec3-a9c5-e594801a1430
	at java.net.URI$Parser.fail(URI.java:2848)
	at java.net.URI$Parser.checkChars(URI.java:3021)
	at java.net.URI$Parser.parse(URI.java:3058)
	at java.net.URI.<init>(URI.java:588)
	at org.apache.ratis.util.FileUtils.stringAsURI(FileUtils.java:133)
	at org.apache.ratis.server.storage.RaftStorage.<init>(RaftStorage.java:49)
	at org.apache.ratis.server.impl.ServerState.<init>(ServerState.java:85)
	at org.apache.ratis.server.impl.RaftServerImpl.<init>(RaftServerImpl.java:94)
	at org.apache.ratis.server.impl.RaftServerProxy.initImpl(RaftServerProxy.java:67)
	at org.apache.ratis.server.impl.RaftServerProxy.<init>(RaftServerProxy.java:62)
	at org.apache.ratis.server.impl.ServerImplUtils.newRaftServer(ServerImplUtils.java:43)
	at org.apache.ratis.server.impl.ServerImplUtils.newRaftServer(ServerImplUtils.java:35)
	at org.apache.ratis.server.RaftServer$Builder.build(RaftServer.java:70)
	at org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis.<init>(XceiverServerRatis.java:68)
	at org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis.newXceiverServerRatis(XceiverServerRatis.java:130)
	at org.apache.hadoop.ozone.container.ozoneimpl.OzoneContainer.<init>(OzoneContainer.java:113)
	at org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.<init>(DatanodeStateMachine.java:76)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.bpRegistrationSucceeded(DataNode.java:1592)
	at org.apache.hadoop.hdfs.server.datanode.BPOfferService.registrationSucceeded(BPOfferService.java:409)
	at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.register(BPServiceActor.java:783)
	at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.connectToNNAndHandshake(BPServiceActor.java:286)
	at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:816)
{noformat}
The root cause is that RatiServer instance was created after HDFS12159 but it can't recognize
the path under Windows.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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