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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 1.2.0
    • 1.3.0, 2.0.0
    • Metastore
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: