You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2015/04/04 01:13:11 UTC

[01/12] incubator-kylin git commit: REST API get cube desc NullPointerException when cube is not exists

Repository: incubator-kylin
Updated Branches:
  refs/heads/staging bf8e51ab2 -> eede2806e


REST API get cube desc NullPointerException when cube is not exists


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

Branch: refs/heads/staging
Commit: 0b233c450aa197d01b9d3479eee1f3550c9f9a6a
Parents: 92ff93e
Author: wangxiaoyu <ro...@gmail.com>
Authored: Thu Mar 26 22:08:47 2015 +0800
Committer: wangxiaoyu <ro...@gmail.com>
Committed: Thu Mar 26 22:08:47 2015 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/rest/controller/CubeDescController.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/0b233c45/server/src/main/java/org/apache/kylin/rest/controller/CubeDescController.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/kylin/rest/controller/CubeDescController.java b/server/src/main/java/org/apache/kylin/rest/controller/CubeDescController.java
index 68f8c7d..d70819f 100644
--- a/server/src/main/java/org/apache/kylin/rest/controller/CubeDescController.java
+++ b/server/src/main/java/org/apache/kylin/rest/controller/CubeDescController.java
@@ -54,6 +54,9 @@ public class CubeDescController {
     @ResponseBody
     public CubeDesc[] getCube(@PathVariable String cubeName) {
         CubeInstance cubeInstance = cubeService.getCubeManager().getCube(cubeName);
+        if (cubeInstance == null){
+            return null;
+        }
         CubeDesc cSchema = cubeInstance.getDescriptor();
         if (cSchema != null) {
             return new CubeDesc[] { cSchema };


[10/12] incubator-kylin git commit: Merge pull request #451 from jd-ode/master

Posted by li...@apache.org.
Merge pull request #451 from jd-ode/master

REST API get cube desc NullPointerException when cube is not exists

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

Branch: refs/heads/staging
Commit: 6b5eec91c0f31d6b7ad30b2a390cfd6327eb42e3
Parents: 2679d0e 687768e
Author: liyang-gmt8 <li...@apache.org>
Authored: Sat Apr 4 07:06:40 2015 +0800
Committer: liyang-gmt8 <li...@apache.org>
Committed: Sat Apr 4 07:06:40 2015 +0800

----------------------------------------------------------------------
 jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java         | 8 ++++++++
 .../org/apache/kylin/rest/controller/CubeDescController.java | 3 +++
 2 files changed, 11 insertions(+)
----------------------------------------------------------------------



[03/12] incubator-kylin git commit: Update Kylin Metadata Store.md

Posted by li...@apache.org.
Update Kylin Metadata Store.md

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

Branch: refs/heads/staging
Commit: f87c880c2f52812f11217a5a7423ab5d7d19c1ce
Parents: d936208
Author: wteo <wt...@users.noreply.github.com>
Authored: Wed Apr 1 16:35:44 2015 +0800
Committer: wteo <wt...@users.noreply.github.com>
Committed: Wed Apr 1 16:35:44 2015 +0800

----------------------------------------------------------------------
 docs/Operations/Kylin Metadata Store.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/f87c880c/docs/Operations/Kylin Metadata Store.md
----------------------------------------------------------------------
diff --git a/docs/Operations/Kylin Metadata Store.md b/docs/Operations/Kylin Metadata Store.md
index d9db4c3..bba3b58 100644
--- a/docs/Operations/Kylin Metadata Store.md	
+++ b/docs/Operations/Kylin Metadata Store.md	
@@ -12,7 +12,7 @@ In such cases, assuming you're on the hadoop CLI(or sandbox) where you deployed
 
 	mkdir ~/meta_dump
 
-	hbase  org.apache.hadoop.util.RunJar  ${KYLIN_HOME}/lib/kylin-job-x.x.x-SNAPSHOT-job.jar com.kylinolap.common.persistence.ResourceTool  copy ${KYLIN_HOME}/conf/kylin.properties ~/meta_dump 
+	hbase  org.apache.hadoop.util.RunJar  ${KYLIN_HOME}/lib/kylin-job-x.x.x-SNAPSHOT-job.jar org.apache.kylin.common.persistence.ResourceTool  copy ${KYLIN_HOME}/conf/kylin.properties ~/meta_dump 
 
 to dump your metadata to your local folder ~/meta_dump.
 
@@ -22,10 +22,10 @@ In case you find your metadata store messed up, and you want to restore to a pre
 
 first clean up the metadata store:
 
-	hbase  org.apache.hadoop.util.RunJar ${KYLIN_HOME}/lib/kylin-job-x.x.x-SNAPSHOT-job.jar com.kylinolap.common.persistence.ResourceTool  reset  
+	hbase  org.apache.hadoop.util.RunJar ${KYLIN_HOME}/lib/kylin-job-x.x.x-SNAPSHOT-job.jar org.apache.kylin.common.persistence.ResourceTool  reset  
 
 then upload the backup metadata in ~/meta_dump to Kylin's metadata store:
 
-	hbase  org.apache.hadoop.util.RunJar  ${KYLIN_HOME}/lib/kylin-job-x.x.x-SNAPSHOT-job.jar com.kylinolap.common.persistence.ResourceTool  copy ~/meta_dump ${KYLIN_HOME}/conf/kylin.properties  
+	hbase  org.apache.hadoop.util.RunJar  ${KYLIN_HOME}/lib/kylin-job-x.x.x-SNAPSHOT-job.jar org.apache.kylin.common.persistence.ResourceTool  copy ~/meta_dump ${KYLIN_HOME}/conf/kylin.properties  
 
 


[11/12] incubator-kylin git commit: Merge branch 'staging' of https://github.com/KylinOLAP/Kylin into staging

Posted by li...@apache.org.
Merge branch 'staging' of https://github.com/KylinOLAP/Kylin into staging


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

Branch: refs/heads/staging
Commit: d6e4a70dbef7975f28cf09efd1be86541d363431
Parents: 23bb563 43cf0a4
Author: Yang Li <li...@apache.org>
Authored: Sat Apr 4 00:07:49 2015 +0100
Committer: Yang Li <li...@apache.org>
Committed: Sat Apr 4 00:07:49 2015 +0100

----------------------------------------------------------------------
 jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[08/12] incubator-kylin git commit: Merge remote-tracking branch 'tmp/patch-1' into staging

Posted by li...@apache.org.
Merge remote-tracking branch 'tmp/patch-1' into staging


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

Branch: refs/heads/staging
Commit: 23bb56302ab01070d8a63f3fd8cbe3655faaaace
Parents: 2679d0e f87c880
Author: Yang Li <li...@apache.org>
Authored: Fri Apr 3 23:57:11 2015 +0100
Committer: Yang Li <li...@apache.org>
Committed: Fri Apr 3 23:57:11 2015 +0100

----------------------------------------------------------------------
 docs/Operations/Kylin Metadata Store.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------



[12/12] incubator-kylin git commit: merge pull request

Posted by li...@apache.org.
merge pull request


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

Branch: refs/heads/staging
Commit: eede2806e96d07ea2c99493f350508741e3f31ec
Parents: 6b5eec9 d6e4a70
Author: Yang Li <li...@apache.org>
Authored: Sat Apr 4 00:12:28 2015 +0100
Committer: Yang Li <li...@apache.org>
Committed: Sat Apr 4 00:12:28 2015 +0100

----------------------------------------------------------------------
 docs/Operations/Kylin Metadata Store.md              | 6 +++---
 jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/eede2806/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
----------------------------------------------------------------------
diff --cc jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
index 868daab,0fbd55a..5198fd7
--- a/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
+++ b/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
@@@ -89,7 -89,6 +89,7 @@@ public class Driver extends Unregistere
              throw new RuntimeException("Error occurred while registering JDBC driver " + Driver.class.getName() + ": " + e.toString());
          }
      }
- 
++    
      @Override
      protected DriverVersion createDriverVersion() {
          return DriverVersion.load(Driver.class, "org-apache-kylin-jdbc.properties", "Kylin JDBC Driver", "unknown version", "Kylin", "unknown version");


[07/12] incubator-kylin git commit: update binary package with commit 5838007b7b6a3ef2b745fd4e903dd610a2207083

Posted by li...@apache.org.
update binary package with commit 5838007b7b6a3ef2b745fd4e903dd610a2207083


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

Branch: refs/heads/staging
Commit: 2679d0e461caa73984661e30f9d87f5d15ef7451
Parents: 5838007
Author: lukehan <lu...@apache.org>
Authored: Fri Apr 3 22:37:23 2015 +0800
Committer: lukehan <lu...@apache.org>
Committed: Fri Apr 3 22:37:23 2015 +0800

----------------------------------------------------------------------
 docs/website/download/index.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/2679d0e4/docs/website/download/index.md
----------------------------------------------------------------------
diff --git a/docs/website/download/index.md b/docs/website/download/index.md
index b2e9315..076c5d9 100644
--- a/docs/website/download/index.md
+++ b/docs/website/download/index.md
@@ -15,8 +15,8 @@ title: Community
 
               <p class="big_text">Binary Package (v0.7.x)</p>
               <p><a href="http://kylin.incubator.apache.org/download/kylin-0.7.1-SNAPSHOT.tgz" target="_blank">v0.7.1-SNAPSHOT (Dev Build)</a> 
-              <br/>Updated Date - March 24, 2015 <br/>	
-              <br/>Git Commit: <a href="https://github.com/KylinOLAP/Kylin/tree/d936208823d4f94b735b39568382162789d29f4c" target="_blank">d936208</a>						
+              <br/>Updated Date - April 03, 2015 <br/>	
+              <br/>Git Commit: <a href="https://github.com/KylinOLAP/Kylin/tree/5838007b7b6a3ef2b745fd4e903dd610a2207083" target="_blank">5838007</a>						
 							</p>
             </div>
 


[04/12] incubator-kylin git commit: JDBC Driver not register into DriverManager

Posted by li...@apache.org.
JDBC Driver not register into DriverManager


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

Branch: refs/heads/staging
Commit: 959d0f60a40dfcb8943cc01334ce47c0cd6b5706
Parents: c573b07
Author: wangxiaoyu <wa...@jd.com>
Authored: Thu Apr 2 13:50:58 2015 +0800
Committer: wangxiaoyu <wa...@jd.com>
Committed: Thu Apr 2 13:50:58 2015 +0800

----------------------------------------------------------------------
 jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/959d0f60/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
----------------------------------------------------------------------
diff --git a/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java b/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
index 2afd8e1..0fbd55a 100644
--- a/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
+++ b/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
@@ -18,6 +18,7 @@
 
 package org.apache.kylin.jdbc;
 
+import java.sql.DriverManager;
 import java.sql.SQLException;
 
 import net.hydromatic.avatica.AvaticaConnection;
@@ -81,7 +82,13 @@ public class Driver extends UnregisteredDriver {
     private static final Logger logger = LoggerFactory.getLogger(Driver.class);
 
     public static final String CONNECT_STRING_PREFIX = "jdbc:kylin:";
-
+    static {
+        try {
+            DriverManager.registerDriver(new Driver());
+        } catch (SQLException e) {
+            throw new RuntimeException("Error occurred while registering JDBC driver " + Driver.class.getName() + ": " + e.toString());
+        }
+    }
     @Override
     protected DriverVersion createDriverVersion() {
         return DriverVersion.load(Driver.class, "org-apache-kylin-jdbc.properties", "Kylin JDBC Driver", "unknown version", "Kylin", "unknown version");


[06/12] incubator-kylin git commit: Merge pull request #454 from janzhongi/staging

Posted by li...@apache.org.
Merge pull request #454 from janzhongi/staging

reset default distinctDataType

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

Branch: refs/heads/staging
Commit: 5838007b7b6a3ef2b745fd4e903dd610a2207083
Parents: bf8e51a ea85631
Author: Zhong,Jian <ji...@ebay.com>
Authored: Fri Apr 3 18:20:50 2015 +0800
Committer: Zhong,Jian <ji...@ebay.com>
Committed: Fri Apr 3 18:20:50 2015 +0800

----------------------------------------------------------------------
 webapp/app/js/model/cubeConfig.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------



[09/12] incubator-kylin git commit: Merge pull request #452 from jd-ode/staging

Posted by li...@apache.org.
Merge pull request #452 from jd-ode/staging

JDBC Driver not register into DriverManager. Thanks to romansew!

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

Branch: refs/heads/staging
Commit: 43cf0a4953dcbe9a867765c105b35917fc5a1770
Parents: 2679d0e 959d0f6
Author: liyang-gmt8 <li...@apache.org>
Authored: Sat Apr 4 07:05:08 2015 +0800
Committer: liyang-gmt8 <li...@apache.org>
Committed: Sat Apr 4 07:05:08 2015 +0800

----------------------------------------------------------------------
 jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[02/12] incubator-kylin git commit: JDBC Driver not register into DriverManager

Posted by li...@apache.org.
JDBC Driver not register into DriverManager


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

Branch: refs/heads/staging
Commit: 687768e3291ccad60f375696d3619cd7b31ba6aa
Parents: 0b233c4
Author: wangxiaoyu <wa...@jd.com>
Authored: Wed Apr 1 14:48:55 2015 +0800
Committer: wangxiaoyu <wa...@jd.com>
Committed: Wed Apr 1 14:48:55 2015 +0800

----------------------------------------------------------------------
 jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/687768e3/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
----------------------------------------------------------------------
diff --git a/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java b/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
index 2afd8e1..868daab 100644
--- a/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
+++ b/jdbc/src/main/java/org/apache/kylin/jdbc/Driver.java
@@ -18,6 +18,7 @@
 
 package org.apache.kylin.jdbc;
 
+import java.sql.DriverManager;
 import java.sql.SQLException;
 
 import net.hydromatic.avatica.AvaticaConnection;
@@ -81,6 +82,13 @@ public class Driver extends UnregisteredDriver {
     private static final Logger logger = LoggerFactory.getLogger(Driver.class);
 
     public static final String CONNECT_STRING_PREFIX = "jdbc:kylin:";
+    static {
+        try {
+            DriverManager.registerDriver(new Driver());
+        } catch (SQLException e) {
+            throw new RuntimeException("Error occurred while registering JDBC driver " + Driver.class.getName() + ": " + e.toString());
+        }
+    }
 
     @Override
     protected DriverVersion createDriverVersion() {


[05/12] incubator-kylin git commit: reset default distinctDataType

Posted by li...@apache.org.
reset default distinctDataType


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

Branch: refs/heads/staging
Commit: ea8563176bb14639adce83bc438ea8aa7db5f02a
Parents: 9e4b151
Author: jiazhong <ji...@ebay.com>
Authored: Fri Apr 3 18:19:44 2015 +0800
Committer: jiazhong <ji...@ebay.com>
Committed: Fri Apr 3 18:19:44 2015 +0800

----------------------------------------------------------------------
 webapp/app/js/model/cubeConfig.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ea856317/webapp/app/js/model/cubeConfig.js
----------------------------------------------------------------------
diff --git a/webapp/app/js/model/cubeConfig.js b/webapp/app/js/model/cubeConfig.js
index 5709cc3..ecdd316 100644
--- a/webapp/app/js/model/cubeConfig.js
+++ b/webapp/app/js/model/cubeConfig.js
@@ -54,7 +54,7 @@ KylinApp.constant('cubeConfig', {
         measureExpression: 'SUM',
         measureParamType: 'column',
         measureDataType: {name: 'BIGINT', value: 'bigint'},
-        distinctDataType: {name: 'Error Rate < 2.44%', value: 'hllc14'},
+        distinctDataType: {name: 'Error Rate < 4.88%', value: 'hllc12'},
         cubeCapacity: 'MEDIUM',
         queryPriority: {name: 'NORMAL', value: 50},
         cubePartitionType: 'APPEND'