[
https://issues.apache.org/jira/browse/HDFS-13360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418504#comment-16418504
]
Nanda kumar commented on HDFS-13360:
------------------------------------
Thanks [~Deng FEI] for reporting and working on this.
We cannot start {{HdslDatanodeService}} (DatanodeStateMachine to be exact)
before starting {{ObjectStoreRestPlugin}} as we might miss setting
{{ozoneRestPort}} in some race condition. Please refer to this comment for more
details.
We should also create {{DatanodeDetails}} instance in {{HdslDatanodeService}}
before starting {{ObjectStoreRestPlugin}}, {{DatanodeDetails}} is shared
between {{HdslDatanodeService}} and {{ObjectStoreRestPlugin}}. This was the
main reason behind the movement of {{DatanodeDetails}} creation to the
constructor of {{HdslDatanodeService}}.
More details here.
As you have mentioned the existing implementation breaks
MiniOzoneClassicCluster. We should think of a cleaner way to address this issue.
> Ozone: The configuration of implement of DataNodeServicePlugin should obtain
> from datanode instance
> ----------------------------------------------------------------------------------------------------
>
> Key: HDFS-13360
> URL: https://issues.apache.org/jira/browse/HDFS-13360
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: DENG FEI
> Priority: Blocker
> Attachments: HDFS-13360-HDFS-7240.000.patch
>
>
> MiniOzoneClassicCluster configure Ozone is enable,but ObjectStoreRestPlugin &
> HdslDatanodeService load configuration from resouces.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]