You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2016/04/15 09:51:38 UTC

kylin git commit: print coprocessor commit id even when exception

Repository: kylin
Updated Branches:
  refs/heads/yang-m1 6a638535e -> 2f8df5160


print coprocessor commit id even when exception


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

Branch: refs/heads/yang-m1
Commit: 2f8df516042638b71a79cea5ff4c98189240e9a8
Parents: 6a63853
Author: Hongbin Ma <ma...@apache.org>
Authored: Fri Apr 15 15:51:23 2016 +0800
Committer: Hongbin Ma <ma...@apache.org>
Committed: Fri Apr 15 15:51:29 2016 +0800

----------------------------------------------------------------------
 .../hbase/cube/v2/coprocessor/endpoint/CubeVisitService.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/2f8df516/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/CubeVisitService.java
----------------------------------------------------------------------
diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/CubeVisitService.java b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/CubeVisitService.java
index 1e57633..f6476f8 100644
--- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/CubeVisitService.java
+++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/coprocessor/endpoint/CubeVisitService.java
@@ -288,7 +288,8 @@ public class CubeVisitService extends CubeVisitProtos.CubeVisitService implement
 
         } catch (IOException ioe) {
             logger.error(ioe.toString());
-            ResponseConverter.setControllerException(controller, ioe);
+            IOException wrapped = new IOException("Error in coprocessor " + debugGitTag, ioe);
+            ResponseConverter.setControllerException(controller, wrapped);
         } finally {
             IOUtils.closeQuietly(innerScanner);
             if (region != null) {