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

resources leak on exception in AvroGenericRecordReader constructor

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              losipiuk Lukasz Osipiuk Assign to me
              Reporter:
              losipiuk Lukasz Osipiuk

              Dates

              • Created:
                Updated:
                Resolved:

              Time Tracking

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

                Issue deployment