Repository: kylin Updated Branches: refs/heads/master 21e6b2bdb -> 8045e7d81
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/f4fc179d Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/f4fc179d Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/f4fc179d Branch: refs/heads/master Commit: f4fc179d8c81823af8e9d0a0d75f553fd6b786d3 Parents: 21e6b2b Author: lidongsjtu <lid...@apache.org> Authored: Thu Apr 21 21:03:49 2016 +0800 Committer: lidongsjtu <lid...@apache.org> Committed: Fri Apr 22 15:49:05 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/f4fc179d/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);