kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject kylin git commit: fix KylinConfigBase.getMetadataUrl()
Date Tue, 16 May 2017 09:23:22 GMT
Repository: kylin
Updated Branches:
  refs/heads/KYLIN-2624 5944d3716 -> e691d1dfe


fix KylinConfigBase.getMetadataUrl()


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

Branch: refs/heads/KYLIN-2624
Commit: e691d1dfed5a1b32e9f6caa52885b89157700227
Parents: 5944d37
Author: Li Yang <liyang@apache.org>
Authored: Tue May 16 17:23:10 2017 +0800
Committer: Li Yang <liyang@apache.org>
Committed: Tue May 16 17:23:10 2017 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/kylin/common/KylinConfigBase.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/e691d1df/core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
----------------------------------------------------------------------
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 b45a9d8..c29a2d1 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
@@ -204,7 +204,7 @@ abstract public class KylinConfigBase implements Serializable {
     // ============================================================================
 
     public StorageURL getMetadataUrl() {
-        return StorageURL.valueOf(getRequired("kylin.metadata.url"));
+        return StorageURL.valueOf(getOptional("kylin.metadata.url", ""));
     }
 
     // for test only


Mime
View raw message