kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject [14/34] kylin git commit: KYLIN-3083 fix potential overflow in CubeHBaseRPC#getCoprocessorTimeoutMillis
Date Fri, 26 Jan 2018 14:56:22 GMT
KYLIN-3083 fix potential overflow in CubeHBaseRPC#getCoprocessorTimeoutMillis


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

Branch: refs/heads/master
Commit: 5bf5099e15cf732f4b77773061743558fb4508ef
Parents: 67f7197
Author: tttMelody <245915794@qq.com>
Authored: Mon Jan 8 19:07:54 2018 +0800
Committer: Li Yang <liyang@apache.org>
Committed: Fri Jan 26 22:54:58 2018 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/storage/hbase/cube/v2/CubeHBaseRPC.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/5bf5099e/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/CubeHBaseRPC.java
----------------------------------------------------------------------
diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/CubeHBaseRPC.java
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/CubeHBaseRPC.java
index 1e2fbd6..2e82140 100644
--- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/CubeHBaseRPC.java
+++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/CubeHBaseRPC.java
@@ -293,7 +293,7 @@ public abstract class CubeHBaseRPC implements IGTStorage {
         if (BackdoorToggles.getQueryTimeout() != -1) {
             coopTimeout = BackdoorToggles.getQueryTimeout();
         } else {
-            coopTimeout = cubeSeg.getConfig().getQueryCoprocessorTimeoutSeconds() * 1000;
+            coopTimeout = cubeSeg.getConfig().getQueryCoprocessorTimeoutSeconds() * 1000L;
         }
         
         int rpcTimeout;


Mime
View raw message