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
This commit is contained in:
parent
1355ff6132
commit
8300b9fb38
@ -585,6 +585,9 @@ Release 2.5.0 - UNRELEASED
|
||||
HADOOP-9559. When metrics system is restarted MBean names get incorrectly
|
||||
flagged as dupes. (Mostafa Elhemali and Mike Liddell via cnauroth)
|
||||
|
||||
HADOOP-10689. InputStream is not closed in
|
||||
AzureNativeFileSystemStore#retrieve(). (Chen He via cnauroth)
|
||||
|
||||
BREAKDOWN OF HADOOP-10514 SUBTASKS AND RELATED JIRAS
|
||||
|
||||
HADOOP-10520. Extended attributes definition and FileSystem APIs for
|
||||
|
@ -1723,7 +1723,7 @@ public DataInputStream retrieve(String key, long startByteOffset)
|
||||
inDataStream.close();
|
||||
}
|
||||
if(in != null){
|
||||
inDataStream.close();
|
||||
in.close();
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user