HIVE-11240 Change value type from int to long for HiveConf.ConfVars.METASTORESERVERMAXMESSAGESIZE(Ferdinand Xu, reviewed by Xuefu Zhang)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/21aecbcf Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/21aecbcf Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/21aecbcf Branch: refs/heads/beeline-cli Commit: 21aecbcfff21d33f1785221be73f880d728632fa Parents: 5363af9 Author: Ferdinand Xu <cheng.a...@intel.com> Authored: Tue Jul 14 02:45:54 2015 -0400 Committer: Ferdinand Xu <cheng.a...@intel.com> Committed: Tue Jul 14 02:45:54 2015 -0400 ---------------------------------------------------------------------- .../src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/21aecbcf/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java ---------------------------------------------------------------------- diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 920e762..2ef5aa0 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -5995,7 +5995,7 @@ public class HiveMetaStore extends ThriftHiveMetastore { // Server will create new threads up to max as necessary. After an idle // period, it will destroy threads to keep the number of threads in the // pool to min. - int maxMessageSize = conf.getIntVar(HiveConf.ConfVars.METASTORESERVERMAXMESSAGESIZE); + long maxMessageSize = conf.getIntVar(HiveConf.ConfVars.METASTORESERVERMAXMESSAGESIZE); int minWorkerThreads = conf.getIntVar(HiveConf.ConfVars.METASTORESERVERMINTHREADS); int maxWorkerThreads = conf.getIntVar(HiveConf.ConfVars.METASTORESERVERMAXTHREADS); boolean tcpKeepAlive = conf.getBoolVar(HiveConf.ConfVars.METASTORE_TCP_KEEP_ALIVE);