You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Surendra Singh Lilhore (Jira)" <ji...@apache.org> on 2019/11/23 19:35:00 UTC
[jira] [Updated] (HDFS-15010) BlockPoolSlice#addReplicaThreadPool
static pool should be initialized by static method
[ https://issues.apache.org/jira/browse/HDFS-15010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Surendra Singh Lilhore updated HDFS-15010:
------------------------------------------
Attachment: HDFS-15010.001.patch
> BlockPoolSlice#addReplicaThreadPool static pool should be initialized by static method
> --------------------------------------------------------------------------------------
>
> Key: HDFS-15010
> URL: https://issues.apache.org/jira/browse/HDFS-15010
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Affects Versions: 3.1.2
> Reporter: Surendra Singh Lilhore
> Assignee: Surendra Singh Lilhore
> Priority: Major
> Attachments: HDFS-15010.001.patch
>
>
> {{BlockPoolSlice#initializeAddReplicaPool()}} method currently initialize the static thread pool instance. But when two {{BPServiceActor}} actor try two load block pool parallelly then it may create different instance.
> So {{BlockPoolSlice#initializeAddReplicaPool()}} method should be a static method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org