Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11240

Change value type from int to long for HiveConf.ConfVars.METASTORESERVERMAXMESSAGESIZE

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.1.0
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: Metastore
    • Labels:
      None

      Description

      Currently in HiveMetaStore.java, we are getting an integer value from this property:

            int maxMessageSize = conf.getIntVar(HiveConf.ConfVars.METASTORESERVERMAXMESSAGESIZE);
      

      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.

        Attachments

        1. HIVE-11240.patch
          1 kB
          Ferdinand Xu

          Activity

            People

            • Assignee:
              Ferd Ferdinand Xu
              Reporter:
              xuefuz Xuefu Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: