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 2018/01/26 11:20:36 UTC
[10/33] kylin git commit: KYLIN-3083 fix potential overflow in
CubeHBaseRPC#getCoprocessorTimeoutMillis
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/19381d31
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/19381d31
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/19381d31
Branch: refs/heads/sync
Commit: 19381d31198735195647433754d3b40ec0ee42d6
Parents: d6cc4e0
Author: tttMelody <24...@qq.com>
Authored: Mon Jan 8 19:07:54 2018 +0800
Committer: Li Yang <li...@apache.org>
Committed: Fri Jan 26 17:35:43 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/19381d31/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;