You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ni...@apache.org on 2019/11/27 02:21:46 UTC

[kylin] branch master updated: fix bug of KYLIN-4178

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

nic 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 f6dfb68  fix bug of KYLIN-4178
f6dfb68 is described below

commit f6dfb6878220df6f00676af0cd1b63644e8d06fe
Author: Zhou Kang <zh...@xiaomi.com>
AuthorDate: Tue Nov 26 19:18:46 2019 +0800

    fix bug of KYLIN-4178
---
 core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java b/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
index 7990f55..bdcc392 100644
--- a/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
+++ b/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
@@ -855,7 +855,7 @@ public abstract class KylinConfigBase implements Serializable {
     }
 
     public List<String> getSafeModeRunnableProjects() {
-        return Arrays.asList(getOptionalStringArray("kylin.job.scheduler.safemode.runnable-projects", null));
+        return Arrays.asList(getOptionalStringArray("kylin.job.scheduler.safemode.runnable-projects", new String[0]));
     }
 
     public Integer getErrorRecordThreshold() {