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

resources leak on exception in AvroGenericRecordReader constructor

    XMLWordPrintableJSON

Details

    Description

      AvroGenericRecordReader constructor creates an instance of FileReader but lacks proper exception handling, and reader is not closed on the failure path.

      This results in leaking of underlying resources (e.g. S3 connections).

       

      Attachments

        Activity

          People

            losipiuk Lukasz Osipiuk
            losipiuk Lukasz Osipiuk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 8h
                8h