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

FileInputStream is not closed in Commands#properties()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • None

    Description

      NO PRECOMMIT TESTS

      In beeline.Commands, around line 834:

            props.load(new FileInputStream(parts[i]));
      

      The FileInputStream is not closed upon return from the method.

      Attachments

        1. HIVE-7176.1.patch.txt
          0.9 kB
          Navis Ryu

        Activity

          People

            navis Navis Ryu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: