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 "Yuval Degani (Jira)" <ji...@apache.org> on 2019/12/03 22:13:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16987305#comment-16987305 ]
Yuval Degani commented on HDFS-15010:
-------------------------------------
[~surendrasingh], would you consider backporting this patch to branch-2?
> 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
> Fix For: 3.3.0, 3.1.4, 3.2.2
>
> Attachments: HDFS-15010.001.patch, HDFS-15010.02.patch, HDFS-15010.03.patch, HDFS-15010.04.patch, HDFS-15010.05.patch
>
>
> {{BlockPoolSlice#initializeAddReplicaPool()}} method currently initialize the static thread pool instance. But when two {{BPServiceActor}} actor try to 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