HBASE-2874 Unnecessary double-synchronization in ZooKeeperWrapper
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978801 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b64c40daff
commit
01a251b50a
|
@ -799,6 +799,8 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-2873 Minor clean up in basescanner; fix a log and make deletes of
|
||||
region processing run in order
|
||||
HBASE-2830 NotServingRegionException shouldn't log a stack trace
|
||||
HBASE-2874 Unnecessary double-synchronization in ZooKeeperWrapper
|
||||
(Benoît Sigoure via Stack)
|
||||
|
||||
NEW FEATURES
|
||||
HBASE-1961 HBase EC2 scripts
|
||||
|
|
|
@ -134,7 +134,7 @@ public class ZooKeeperWrapper implements Watcher {
|
|||
*/
|
||||
private Set<String> unassignedZNodesWatched = new HashSet<String>();
|
||||
|
||||
private List<Watcher> listeners = Collections.synchronizedList(new ArrayList<Watcher>());
|
||||
private List<Watcher> listeners = new ArrayList<Watcher>();
|
||||
|
||||
// return the singleton given the name of the instance
|
||||
public static ZooKeeperWrapper getInstance(Configuration conf, String name) {
|
||||
|
|
Loading…
Reference in New Issue