From 7408207649f07770f12f34a7c7be194a8f1f71a5 Mon Sep 17 00:00:00 2001 From: Carlo Medas Date: Tue, 7 Apr 2015 14:19:10 +0200 Subject: [PATCH] minor fixes and new version --- java/hadoop-4mc/pom.xml | 4 ++-- .../java/com/hadoop/compression/fourmc/FourMcInputStream.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java/hadoop-4mc/pom.xml b/java/hadoop-4mc/pom.xml index 7e0a7a1..b9d628a 100644 --- a/java/hadoop-4mc/pom.xml +++ b/java/hadoop-4mc/pom.xml @@ -14,7 +14,7 @@ com.hadoop.fourmc hadoop-4mc - 1.1.0 + 1.2.0 jar 4mc @@ -55,7 +55,7 @@ commons-logging commons-logging - 1.1.1 + 1.1.3 diff --git a/java/hadoop-4mc/src/main/java/com/hadoop/compression/fourmc/FourMcInputStream.java b/java/hadoop-4mc/src/main/java/com/hadoop/compression/fourmc/FourMcInputStream.java index 6e9fe69..a083d9b 100644 --- a/java/hadoop-4mc/src/main/java/com/hadoop/compression/fourmc/FourMcInputStream.java +++ b/java/hadoop-4mc/src/main/java/com/hadoop/compression/fourmc/FourMcInputStream.java @@ -205,6 +205,7 @@ public static FourMcBlockIndex readIndex(FileSystem fs, Path file) throws IOExce buf = new byte[readTailSize]; readFully(indexIn, buf, 0, buf.length); } + indexIn.close(); int startFooterOffset = readTailSize - footerSize;