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 03:37:45 UTC

[kylin] branch 2.5.x updated: KYLIN-3649 fix ci

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 aa3efa3  KYLIN-3649 fix ci
aa3efa3 is described below

commit aa3efa39f0a7d8cd8c4e4a487ded2ca2ea86d577
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