hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nanda kumar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12696) BlockPoolManager#startAll is called twice during DataNode startup
Date Mon, 23 Oct 2017 16:35:01 GMT

     [ https://issues.apache.org/jira/browse/HDFS-12696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nanda kumar updated HDFS-12696:
-------------------------------
    Status: Patch Available  (was: Open)

> BlockPoolManager#startAll is called twice during DataNode startup
> -----------------------------------------------------------------
>
>                 Key: HDFS-12696
>                 URL: https://issues.apache.org/jira/browse/HDFS-12696
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>            Priority: Minor
>         Attachments: HDFS-12696.000.patch
>
>
> As part of Datanode startup, {{BlockPoolManager#startAll}} which starts all {{BPServiceActor}}
threads is called twice.
> First in {{Datanode}} constructor, {{Datanode#startDataNode}} is called which does {{BlockPoolManager#refreshNamenodes}}
inside which we do {{startAll}}
> And as part of {{Datanode#runDatanodeDaemon}} we again call {{BlockPoolManager#startAll}}.
> Since {{BPServiceActor}} checks if {{bpThread}} is already running, before starting them
again, the second call is ignored.



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