Hive
  1. Hive
  2. HIVE-3480

<Resource leak>: Fix the file handle leaks in Symbolic & Symlink related input formats.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1, 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: CLI, Tests
    • Labels:
      None

      Description

      Noticed these file handle leaks while fixing the Symlink related unit test failures on Windows.

        Issue Links

          Activity

          Hide
          Kanna Karanam added a comment -

          Please find the code review request at https://reviews.apache.org/r/7841/

          Show
          Kanna Karanam added a comment - Please find the code review request at https://reviews.apache.org/r/7841/
          Hide
          Ashutosh Chauhan added a comment -

          +1 will commit if tests pass.

          Show
          Ashutosh Chauhan added a comment - +1 will commit if tests pass.
          Hide
          Ashutosh Chauhan added a comment -

          Committed to trunk. Thanks, Kanna!

          Show
          Ashutosh Chauhan added a comment - Committed to trunk. Thanks, Kanna!
          Hide
          Hudson added a comment -

          Integrated in Hive-trunk-h0.21 #1783 (See https://builds.apache.org/job/Hive-trunk-h0.21/1783/)
          HIVE-3480 : <Resource leak>: Fix the file handle leaks in Symbolic & Symlink related input formats. (Kanna Karanam via Ashutosh Chauhan) (Revision 1407158)

          Result = FAILURE
          hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407158
          Files :

          • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/SymbolicInputFormat.java
          • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/SymlinkTextInputFormat.java
          • /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/io/TestSymlinkTextInputFormat.java
          Show
          Hudson added a comment - Integrated in Hive-trunk-h0.21 #1783 (See https://builds.apache.org/job/Hive-trunk-h0.21/1783/ ) HIVE-3480 : <Resource leak>: Fix the file handle leaks in Symbolic & Symlink related input formats. (Kanna Karanam via Ashutosh Chauhan) (Revision 1407158) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407158 Files : /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/SymbolicInputFormat.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/SymlinkTextInputFormat.java /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/io/TestSymlinkTextInputFormat.java
          Hide
          Hudson added a comment -

          Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/)
          HIVE-3480 : <Resource leak>: Fix the file handle leaks in Symbolic & Symlink related input formats. (Kanna Karanam via Ashutosh Chauhan) (Revision 1407158)

          Result = ABORTED
          hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407158
          Files :

          • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/SymbolicInputFormat.java
          • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/SymlinkTextInputFormat.java
          • /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/io/TestSymlinkTextInputFormat.java
          Show
          Hudson added a comment - Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/ ) HIVE-3480 : <Resource leak>: Fix the file handle leaks in Symbolic & Symlink related input formats. (Kanna Karanam via Ashutosh Chauhan) (Revision 1407158) Result = ABORTED hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407158 Files : /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/SymbolicInputFormat.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/SymlinkTextInputFormat.java /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/io/TestSymlinkTextInputFormat.java
          Hide
          Ashutosh Chauhan added a comment -

          This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

          Show
          Ashutosh Chauhan added a comment - This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

            People

            • Assignee:
              Kanna Karanam
              Reporter:
              Kanna Karanam
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development