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

Anu Engineer commented on HDFS-12331:
-------------------------------------

[~linyiqun] Please ignore these tags.  I am going to send out an invite so we 
can all discuss these. We are using this to create a set of bugs that we must 
absolutely work on with priority. This issue will automatically go away when 
the next version of Ratis is updated. So the post merge allows us not to worry 
about this in the work schedules. That is all. Thanks for asking though.



> 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
>              Labels: OzonePostMerge, tocheck
>         Attachments: HDFS-12331-HDFS-7240.001.patch
>
>
> 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 newly created in 
> {{OzoneContainer}} after HDFS-12159 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to