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

HiveHBaseTableInputFormat.getRecordReader() causes Zookeeper connection leak.

    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

      @Override
      public RecordReader<ImmutableBytesWritable, ResultWritable> getRecordReader(
      ...
      ...
      setHTable(HiveHBaseInputFormatUtil.getTable(jobConf));
      ...

      The HiveHBaseInputFormatUtil.getTable() creates new ZooKeeper connections(when HTable instance is created) which are never closed.

        Attachments

        1. HIVE-12418.patch
          0.8 kB
          Naveen Gangam

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: