accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [2/3] accumulo git commit: ACCUMULO-3864 Synchronize getMiniDfs()
Date Thu, 28 May 2015 20:55:21 GMT
ACCUMULO-3864 Synchronize getMiniDfs()


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

Branch: refs/heads/master
Commit: 84d614d93753b97bfc3862614d7a8acb1dcae5cd
Parents: 84ccd5c
Author: Josh Elser <elserj@apache.org>
Authored: Thu May 28 16:18:11 2015 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Thu May 28 16:18:11 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/accumulo/blob/84d614d9/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImpl.java
----------------------------------------------------------------------
diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImpl.java
b/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImpl.java
index 19aed0b..2e631b8 100644
--- a/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImpl.java
+++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImpl.java
@@ -791,7 +791,7 @@ public class MiniAccumuloClusterImpl implements AccumuloCluster {
     return stats;
   }
 
-  public MiniDFSCluster getMiniDfs() {
+  public synchronized MiniDFSCluster getMiniDfs() {
     return this.miniDFS;
   }
 


Mime
View raw message