accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [3/6] git commit: ACCUMULO-1939 Fix ConcurrentModificationException in MAC
Date Wed, 27 Nov 2013 02:13:31 GMT
ACCUMULO-1939 Fix ConcurrentModificationException in MAC


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/80fd6479
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/80fd6479
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/80fd6479

Branch: refs/heads/master
Commit: 80fd647976db5baff8c1a372beee11e25d0428d9
Parents: 294bed9
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Tue Nov 26 19:52:39 2013 -0500
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Tue Nov 26 19:52:39 2013 -0500

----------------------------------------------------------------------
 .../java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/80fd6479/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
----------------------------------------------------------------------
diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
index 8b195ff..09f60c2 100644
--- a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
+++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
@@ -133,7 +133,7 @@ public class MiniAccumuloCluster {
   private Process zooKeeperProcess = null;
   private Process masterProcess = null;
   private Process gcProcess = null;
-  private List<Process> tabletServerProcesses = new ArrayList<Process>();
+  private List<Process> tabletServerProcesses = Collections.synchronizedList(new ArrayList<Process>());
 
   private Set<Pair<ServerType,Integer>> debugPorts = new HashSet<Pair<ServerType,Integer>>();
 


Mime
View raw message