Roman Leventov created HBASE-23630: -------------------------------------- Summary: synchronizedXxx-related defects Key: HBASE-23630 URL: https://issues.apache.org/jira/browse/HBASE-23630 Project: HBase Issue Type: Bug Reporter: Roman Leventov
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) {}}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)