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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:

              Development