This is an automated email from the ASF dual-hosted git repository.

nic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new afe4e88  KYLIN-4074 Exception in thread "Memcached IO over 
{MemcachedConnection to ..." java.lang.NullPointerException
afe4e88 is described below

commit afe4e8802fb92c963088608cdb4f9bda435b7a38
Author: Temple Zhou <dba...@gmail.com>
AuthorDate: Mon Jul 8 16:06:04 2019 +0800

    KYLIN-4074 Exception in thread "Memcached IO over {MemcachedConnection to 
..." java.lang.NullPointerException
---
 .../java/org/apache/kylin/storage/hbase/cube/v2/SegmentQueryCache.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/SegmentQueryCache.java
 
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/SegmentQueryCache.java
index 2b66a22..9aad81b 100755
--- 
a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/SegmentQueryCache.java
+++ 
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/SegmentQueryCache.java
@@ -45,7 +45,7 @@ public class SegmentQueryCache {
         
memcachedCacheConfig.setTimeout(kylinConfig.getQuerySegmentCacheTimeout());
         // set max object size a little less than 1024 * 1024, because the key 
of the segment result cache is long
         // if set to 1024 * 1024 will cause memcached client exceed max size 
error
-        memcachedCacheConfig.setMaxObjectSize(1040000);
+        memcachedCacheConfig.setMaxObjectSize(1000000);
         memcachedCacheConfig.setHosts(configHosts);
         //Reverse the compression setting between Hbase coprocessor and 
memcached, if Hbase result is compressed, memcached will not compress.
         
memcachedCacheConfig.setEnableCompression(!kylinConfig.getCompressionResult());

Reply via email to