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

HiveHBaseTableInputFormat.getRecordReader() causes Zookeeper connection leak.

    XMLWordPrintableJSON

Details

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

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

              Dates

                Created:
                Updated:
                Resolved: