kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject kylin git commit: minor, CacheService pring error (instead of exception) on unknown cache type
Date Tue, 13 Sep 2016 10:18:30 GMT
Repository: kylin
Updated Branches:
  refs/heads/master c8326d729 -> ad5844bab


minor, CacheService pring error (instead of exception) on unknown cache type


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

Branch: refs/heads/master
Commit: ad5844babe7473f5116c69bb9d137fc690a8a277
Parents: c8326d7
Author: Li Yang <liyang@apache.org>
Authored: Tue Sep 13 18:18:03 2016 +0800
Committer: Li Yang <liyang@apache.org>
Committed: Tue Sep 13 18:18:03 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/kylin/blob/ad5844ba/server-base/src/main/java/org/apache/kylin/rest/service/CacheService.java
----------------------------------------------------------------------
diff --git a/server-base/src/main/java/org/apache/kylin/rest/service/CacheService.java b/server-base/src/main/java/org/apache/kylin/rest/service/CacheService.java
index cba3286..5e2d544 100644
--- a/server-base/src/main/java/org/apache/kylin/rest/service/CacheService.java
+++ b/server-base/src/main/java/org/apache/kylin/rest/service/CacheService.java
@@ -213,7 +213,7 @@ public class CacheService extends BasicService {
                 removeAllOLAPDataSources();
                 break;
             default:
-                throw new RuntimeException("invalid cacheType:" + cacheType);
+                logger.error("invalid cacheType:" + cacheType);
             }
         } catch (IOException e) {
             throw new RuntimeException("error " + log, e);


Mime
View raw message