You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2018/10/25 06:01:00 UTC

[kylin] branch 2.5.x updated: KYLIN-3613, UnknownHostException at 'Create HTable' step when use standalone hbase cluster

This is an automated email from the ASF dual-hosted git repository.

shaofengshi pushed a commit to branch 2.5.x
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/2.5.x by this push:
     new 76899aa  KYLIN-3613, UnknownHostException at 'Create HTable' step when use standalone hbase cluster
76899aa is described below

commit 76899aa31a658f62bbdc45d35c3a47f64509ca04
Author: wangsheng <sk...@163.com>
AuthorDate: Wed Oct 24 18:31:49 2018 +0800

    KYLIN-3613, UnknownHostException at 'Create HTable' step when use standalone hbase cluster
---
 .../main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java
index 5ffdd48..ec2998b 100644
--- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java
+++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java
@@ -77,7 +77,7 @@ public class CubeHFileJob extends AbstractHadoopJob {
             CubeInstance cube = cubeMgr.getCube(cubeName);
 
             // use current hbase configuration
-            Configuration configuration = HBaseConnection.getCurrentHBaseConfiguration();
+            Configuration configuration = new Configuration(HBaseConnection.getCurrentHBaseConfiguration());
             merge(configuration, getConf());
             job = Job.getInstance(configuration, getOptionValue(OPTION_JOB_NAME));