[
https://issues.apache.org/jira/browse/HBASE-23630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Leventov updated HBASE-23630:
-----------------------------------
Description: org.apache.hadoop.hbase.util.HBaseFsck: {{orphanHdfsDirs}}
could be iterated in {{adoptHdfsOrphans()}} in parallel with modification. The
body of the {{adoptHdfOrphans()}} should be wrapped with {{synchronized
(orphanHdfsDirs){{ {}}}}{{}}}. (was: 1.
org.apache.hadoop.hbase.rest.client.Cluster: {{nodes}} could be iterated in
{{toString()}} in parallel with modification. The body of the {{toString()}}
method should be wrapped with {{synchronized(nodes) {}}}.
2. org.apache.hadoop.hbase.util.HBaseFsck: {{orphanHdfsDirs}} could be iterated
in {{adoptHdfsOrphans()}} in parallel with modification. The body of the
{{adoptHdfOrphans()}} should be wrapped with {{synchronized (orphanHdfsDirs)
{}}}.)
Summary: synchronizedList-related defect in HBaseFsck (was:
synchronizedList-related defects)
> synchronizedList-related defect in HBaseFsck
> --------------------------------------------
>
> Key: HBASE-23630
> URL: https://issues.apache.org/jira/browse/HBASE-23630
> Project: HBase
> Issue Type: Bug
> Reporter: Roman Leventov
> Priority: Minor
>
> org.apache.hadoop.hbase.util.HBaseFsck: {{orphanHdfsDirs}} could be iterated
> in {{adoptHdfsOrphans()}} in parallel with modification. The body of the
> {{adoptHdfOrphans()}} should be wrapped with {{synchronized
> (orphanHdfsDirs){{ {}}}}{{}}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)