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/11/02 04:08:00 UTC

[kylin] branch master updated: KYLIN-3649 fix ci

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 37fdf65  KYLIN-3649 fix ci
37fdf65 is described below

commit 37fdf651e5d0d986a177e17e302871400beb0c97
Author: shaofengshi <sh...@apache.org>
AuthorDate: Fri Nov 2 11:37:32 2018 +0800

    KYLIN-3649 fix ci
---
 .../src/main/java/org/apache/kylin/rest/job/StorageCleanupJob.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server-base/src/main/java/org/apache/kylin/rest/job/StorageCleanupJob.java b/server-base/src/main/java/org/apache/kylin/rest/job/StorageCleanupJob.java
index 70a7b8a..b73e916 100755
--- a/server-base/src/main/java/org/apache/kylin/rest/job/StorageCleanupJob.java
+++ b/server-base/src/main/java/org/apache/kylin/rest/job/StorageCleanupJob.java
@@ -154,7 +154,7 @@ public class StorageCleanupJob extends AbstractApplication {
     }
 
     protected void cleanUnusedHBaseTables() throws IOException {
-        if ("hbase".equals(config.getStorageUrl().getScheme())) {
+        if ("hbase".equals(config.getStorageUrl().getScheme()) && !"".equals(config.getMetadataUrl().getScheme())) {
             final int deleteTimeoutMin = 10; // Unit minute
             try {
                 // use reflection to isolate NoClassDef errors when HBase is not available