hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elek, Marton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13300) Ozone: Remove DatanodeID dependency from HDSL and Ozone
Date Fri, 23 Mar 2018 13:52:00 GMT

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

Elek, Marton commented on HDFS-13300:
-------------------------------------

A separated issue, but I got NPE when I tested patch v3

{code}
datanode_1  | 2018-03-23 13:43:19 WARN  DataNode:981 - ServicePlugin org.apache.hadoop.ozone.HdslDatanodeService@2a492f2a
could not be started
datanode_1  | java.lang.NullPointerException
datanode_1  | 	at org.apache.hadoop.hdsl.protocol.DatanodeDetails.getRatisPort(DatanodeDetails.java:198)
datanode_1  | 	at org.apache.ratis.RatisHelper.toRaftPeerIdString(RatisHelper.java:51)
datanode_1  | 	at org.apache.ratis.RatisHelper.toRaftPeerId(RatisHelper.java:59)
datanode_1  | 	at org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis.<init>(XceiverServerRatis.java:96)
datanode_1  | 	at org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis.newXceiverServerRatis(XceiverServerRatis.java:181)
datanode_1  | 	at org.apache.hadoop.ozone.container.ozoneimpl.OzoneContainer.<init>(OzoneContainer.java:122)
datanode_1  | 	at org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.<init>(DatanodeStateMachine.java:81)
datanode_1  | 	at org.apache.hadoop.ozone.HdslDatanodeService.start(HdslDatanodeService.java:60)
datanode_1  | 	at org.apache.hadoop.hdfs.server.datanode.DataNode.startPlugins(DataNode.java:978)
datanode_1  | 	at org.apache.hadoop.hdfs.server.datanode.DataNode.runDatanodeDaemon(DataNode.java:2643)
datanode_1  | 	at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2733)
datanode_1  | 	at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2875)
datanode_1  | 	at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2899)
{code}

My only change is that I added a 

{code}
    try {
      Thread.sleep(3000);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
{code} to the beginning of ObjectStoreRestPlugin.start (To test some very rare race conditions)

> Ozone:  Remove DatanodeID dependency from HDSL and Ozone
> --------------------------------------------------------
>
>                 Key: HDFS-13300
>                 URL: https://issues.apache.org/jira/browse/HDFS-13300
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>            Priority: Major
>         Attachments: HDFS-13300-HDFS-7240.000.patch, HDFS-13300-HDFS-7240.001.patch,
HDFS-13300-HDFS-7240.002.patch, HDFS-13300-HDFS-7240.003.patch
>
>
> DatanodeID has been modified to add HDSL/Ozone related information previously. This jira
is to remove DatanodeID dependency from HDSL/Ozone to make it truly pluggable without having
the need to modify DatanodeID.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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