HADOOP-10689. InputStream is not closed in AzureNativeFileSystemStore#retrieve(). Contributed by Chen He.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1604233 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 8300b9fb38
)
Conflicts:
hadoop-common-project/hadoop-common/CHANGES.txt
This commit is contained in:
parent
82268d87bc
commit
80d005c66f
|
@ -229,6 +229,9 @@ Release 2.7.0 - UNRELEASED
|
|||
HADOOP-11420. Use latest maven-site-plugin and replace link to svn with
|
||||
link to git. (Herve Boutemy via wheat9)
|
||||
|
||||
HADOOP-10689. InputStream is not closed in
|
||||
AzureNativeFileSystemStore#retrieve(). (Chen He via cnauroth)
|
||||
|
||||
Release 2.6.0 - 2014-11-18
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -1723,7 +1723,7 @@ class AzureNativeFileSystemStore implements NativeFileSystemStore {
|
|||
inDataStream.close();
|
||||
}
|
||||
if(in != null){
|
||||
inDataStream.close();
|
||||
in.close();
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue