You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2016/04/22 06:12:17 UTC

[48/50] [abbrv] kylin git commit: synchronized when upload coprocessor

synchronized when upload coprocessor


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

Branch: refs/heads/1.5.x-HBase1.1.3
Commit: fb556776378dbf9b8c993fad6c05026acffc5cff
Parents: 30d60e2
Author: lidongsjtu <li...@apache.org>
Authored: Thu Apr 21 21:03:49 2016 +0800
Committer: lidongsjtu <li...@apache.org>
Committed: Thu Apr 21 21:03:49 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/fb556776/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 97c8d39..6f1b48b 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
@@ -254,7 +254,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);