KYLIN-2537 fix DeployCoprocessorCLI

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

Branch: refs/heads/KYLIN-2506
Commit: c17b3eb36bd89abe0d6b479b223047b68f933cc7
Parents: c80d432
Author: Li Yang <liy...@apache.org>
Authored: Mon Apr 10 18:07:50 2017 +0800
Committer: Li Yang <liy...@apache.org>
Committed: Mon Apr 10 18:20:01 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/kylin/blob/c17b3eb3/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 29c738e..d51b71e 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
@@ -420,6 +420,7 @@ public class DeployCoprocessorCLI {
 
     private static Path getCoprocessorHDFSDir(FileSystem fileSystem, 
KylinConfig config) throws IOException {
         String hdfsWorkingDirectory = config.getHdfsWorkingDirectory();
+        hdfsWorkingDirectory = 
HBaseConnection.makeQualifiedPathInHBaseCluster(hdfsWorkingDirectory);
         Path coprocessorDir = new Path(hdfsWorkingDirectory, "coprocessor");
         fileSystem.mkdirs(coprocessorDir);
         return coprocessorDir;

Reply via email to