Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4635

HBase Connection leak in org.apache.phoenix.hive.mapreduce.PhoenixInputFormat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.14.0, 5.0.0
    • None
    • None

    Description

      org.apache.phoenix.hive.mapreduce.PhoenixInputFormat#generateSplits()

      HConnection connection = HConnectionManager.createConnection(PhoenixConnectionUtil.getConfiguration(jobConf));

      connection shoule  be closed

       

      i will submit a patch to fix this

      Attachments

        1. PHOENIX-4635.5.x-HBase-2.0.002.patch
          2 kB
          Yechao Chen
        2. PHOENIX-4635.4.x-HBase-0.98.002.patch
          2 kB
          Yechao Chen
        3. PHOENIX-4635.002.patch
          2 kB
          Yechao Chen
        4. PHOENIX-4635.5.x-HBase-2.0.001.patch
          7 kB
          Yechao Chen
        5. PHOENIX-4635.4.x-HBase-0.98.001.patch
          7 kB
          Yechao Chen
        6. PHOENIX-4635.001.patch
          7 kB
          Yechao Chen

        Activity

          People

            Unassigned Unassigned
            chenyechao Yechao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: