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

Zookeeper connection leaks in Hive's HBaseHandler.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 2.0.0
    • HiveServer2
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: