[
https://issues.apache.org/jira/browse/HIVE-11240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625741#comment-14625741
]
Xuefu Zhang commented on HIVE-11240:
------------------------------------
+1
> Change value type from int to long for
> HiveConf.ConfVars.METASTORESERVERMAXMESSAGESIZE
> --------------------------------------------------------------------------------------
>
> Key: HIVE-11240
> URL: https://issues.apache.org/jira/browse/HIVE-11240
> Project: Hive
> Issue Type: Improvement
> Components: Metastore
> Affects Versions: 1.2.0, 1.1.0
> Reporter: Xuefu Zhang
> Assignee: Ferdinand Xu
> Attachments: HIVE-11240.patch
>
>
> Currently in HiveMetaStore.java, we are getting an integer value from this
> property:
> {code}
> int maxMessageSize =
> conf.getIntVar(HiveConf.ConfVars.METASTORESERVERMAXMESSAGESIZE);
> {code}
> While this is sufficient most of the time, there can be cases where msg size
> might needs to be greater than INT_MAX. We should use long instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)