Hive
  1. Hive
  2. HIVE-7929

close of ZipOutputStream in Utils#jarDir() should be placed in finally block

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.13.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      In accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/Utils.java , line 308 :

      zos.closeEntry();
      zipDir(dir, relativePath, zos, true);
      zos.close();

      If exception is happened, ZipOutputStream would be left unclosed..

      1. HIVE-7929_001.patch
        2 kB
        skrho
      2. HIVE-7929_002.patch
        2 kB
        skrho

        Activity

        skrho created issue -
        skrho made changes -
        Field Original Value New Value
        Attachment HIVE-7929_001.patch [ 12665756 ]
        skrho made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Labels patch
        Navis made changes -
        Assignee skrho [ rsk13th ]
        skrho made changes -
        Attachment HIVE-7929_002.patch [ 12669009 ]

          People

          • Assignee:
            skrho
            Reporter:
            skrho
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development