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

HiveMetaStoreClient should close existing thrift connection before its reconnect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • Metastore
    • None

    Description

      HiveMetaStoreClient should first close its existing thrift connection, no matter it is already dead or still live, before its opening another connection in its reconnect() method. Otherwise, it might lead to resource huge accumulation or leak at HMS site when client keeps on retrying.

      Attachments

        1. HIVE-10571.patch
          1 kB
          Szehon Ho
        2. HIVE-10571.patch
          1 kB
          Chaoyu Tang
        3. HIVE-10571.patch
          1 kB
          Chaoyu Tang

        Activity

          People

            ctang Chaoyu Tang
            ctang Chaoyu Tang
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: