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

HiveMetaStoreClient should close existing thrift connection before its reconnect

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: Metastore
    • Labels:
      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
          Chaoyu Tang
        2. HIVE-10571.patch
          1 kB
          Chaoyu Tang
        3. HIVE-10571.patch
          1 kB
          Szehon Ho

          Activity

            People

            • Assignee:
              ctang.ma Chaoyu Tang
              Reporter:
              ctang.ma Chaoyu Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: