Repository: kylin
Updated Branches:
  refs/heads/yang-m1 b783fa690 -> ccf7f0c62


KYLIN-1604 Synchronize upload coprocessor function


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

Branch: refs/heads/yang-m1
Commit: c3d8c07e4fbe95a74e2ecce97d8caf35e7e1f97d
Parents: b783fa6
Author: lidongsjtu <lid...@apache.org>
Authored: Thu Apr 21 21:03:49 2016 +0800
Committer: lidongsjtu <lid...@apache.org>
Committed: Fri Apr 22 17:07:31 2016 +0800

----------------------------------------------------------------------
 .../org/apache/kylin/storage/hbase/util/DeployCoprocessorCLI.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/c3d8c07e/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/DeployCoprocessorCLI.java
----------------------------------------------------------------------
diff --git 
a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/DeployCoprocessorCLI.java
 
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/DeployCoprocessorCLI.java
index 2a5c950..270da13 100644
--- 
a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/DeployCoprocessorCLI.java
+++ 
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/DeployCoprocessorCLI.java
@@ -260,7 +260,7 @@ public class DeployCoprocessorCLI {
         return path;
     }
 
-    public static Path uploadCoprocessorJar(String localCoprocessorJar, 
FileSystem fileSystem, Set<String> oldJarPaths) throws IOException {
+    public synchronized static Path uploadCoprocessorJar(String 
localCoprocessorJar, FileSystem fileSystem, Set<String> oldJarPaths) throws 
IOException {
         Path uploadPath = null;
         File localCoprocessorFile = new File(localCoprocessorJar);
 

Reply via email to