Nanda kumar created HDFS-12696:
----------------------------------
Summary: 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
As part of Datanode startup, {{BlockPoolManager#startAll}} which starts all the
{{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: [email protected]
For additional commands, e-mail: [email protected]