hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-12098) Ozone: Datanode is unable to register with scm if scm starts later
Date Fri, 14 Jul 2017 00:51:00 GMT

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

Weiwei Yang edited comment on HDFS-12098 at 7/14/17 12:50 AM:
--------------------------------------------------------------

Hi [~anu]

bq. Looks like the main does call, SCM constructor ...

The main method you pasted is only called if scm is started, in bin/hdfs

{code}
scm)
  HADOOP_CLASSNAME='org.apache.hadoop.ozone.scm.StorageContainerManager'
  ...
{code}

if I don't start scm (like how I reproduce this issue in the description), it won't be called,
and the port will not be bound. However, in MiniOzoneCluster, no matter scm is started or
not, the constructor will be called. That's what I meant.

Thanks


was (Author: cheersyang):
Hi [~anu]

bq. Looks like the main does call, SCM constructor ...

The main method you pasted is only called if scm is started, in bin/hdfs

{code}
scm)
  HADOOP_CLASSNAME='org.apache.hadoop.ozone.scm.StorageContainerManager'
  ...
{code}

if I don't start scm (like how I reproduce this issue in the description), it won't be called,
and the port will not be bound. That's what I meant.

Thanks

> Ozone: Datanode is unable to register with scm if scm starts later
> ------------------------------------------------------------------
>
>                 Key: HDFS-12098
>                 URL: https://issues.apache.org/jira/browse/HDFS-12098
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, ozone, scm
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Critical
>         Attachments: disabled-scm-test.patch, HDFS-12098-HDFS-7240.001.patch, HDFS-12098-HDFS-7240.002.patch,
Screen Shot 2017-07-11 at 4.58.08 PM.png, thread_dump.log
>
>
> Reproducing steps
> # Start datanode
> # Wait and see datanode state, it has connection issues, this is expected
> # Start SCM, expecting datanode could connect to the scm and the state machine could
transit to RUNNING. However in actual, its state transits to SHUTDOWN, datanode enters chill
mode.



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