[ 
https://issues.apache.org/jira/browse/HIVE-11240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xuefu Zhang updated HIVE-11240:
-------------------------------
    Summary: Change value type from int to long for 
HiveConf.ConfVars.METASTORESERVERMAXMESSAGESIZE  (was: Change value time from 
int to long for HiveConf.ConfVars.METASTORESERVERMAXMESSAGESIZE)

> 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
>
> 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)

Reply via email to