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

Zookeeper connection leaks in Hive's HBaseHandler.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 2.0.0
    • Component/s: HiveServer2
    • Labels:
      None

      Description

      HiveServer2 performance regresses severely due to what appears to be a leak in the ZooKeeper connections. lsof output on the HS2 process shows about 8000 TCP connections to the ZK ensemble nodes.

      grep TCP lsof-hive-node11 | grep node11 | grep -E "node03|node04|node05" | wc -l
      7866
      grep TCP lsof-hive-node11 | grep node11 | grep -E "node03" | wc -l
      2615
      grep TCP lsof-hive-node11 | grep node11 | grep -E "node04" | wc -l
      2622
      grep TCP lsof-hive-node11 | grep node11 | grep -E "node05" | wc -l
      2629

      node11 - HMS node
      node03, node04 and node05 are the hosts for zookeeper ensemble.

        Attachments

        1. HIVE-12250.2.patch
          6 kB
          Naveen Gangam
        2. HIVE-12250.patch
          7 kB
          Naveen Gangam

          Issue Links

            Activity

              People

              • Assignee:
                ngangam Naveen Gangam
                Reporter:
                ngangam Naveen Gangam
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: