You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2019/08/17 16:04:00 UTC
[jira] [Resolved] (HBASE-22871) Move the DirScanPool out and do not
use static field
[ https://issues.apache.org/jira/browse/HBASE-22871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-22871.
-------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 2.2.2
2.1.7
2.3.0
3.0.0
Pushed to branch-2.1+.
Thanks [~openinx] and [~reidchan] for reviewing.
> Move the DirScanPool out and do not use static field
> ----------------------------------------------------
>
> Key: HBASE-22871
> URL: https://issues.apache.org/jira/browse/HBASE-22871
> Project: HBase
> Issue Type: Improvement
> Components: master
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0, 2.3.0, 2.1.7, 2.2.2
>
>
> The current implementation is a bit ugly, the onConfigurationChange is an instance method but it writes to a static field and cause a findbugs warning. I think we can just put the DirScanPool in HMaster and pass it when constructing Cleaners...
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)