HADOOP-10690. Lack of synchronization on access to InputStream in NativeAzureFileSystem#NativeAzureFsInputStream#close(). Contributed by Chen He.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1604236 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8300b9fb38
commit
61bf9f7799
|
@ -588,6 +588,10 @@ Release 2.5.0 - UNRELEASED
|
||||||
HADOOP-10689. InputStream is not closed in
|
HADOOP-10689. InputStream is not closed in
|
||||||
AzureNativeFileSystemStore#retrieve(). (Chen He via cnauroth)
|
AzureNativeFileSystemStore#retrieve(). (Chen He via cnauroth)
|
||||||
|
|
||||||
|
HADOOP-10690. Lack of synchronization on access to InputStream in
|
||||||
|
NativeAzureFileSystem#NativeAzureFsInputStream#close().
|
||||||
|
(Chen He via cnauroth)
|
||||||
|
|
||||||
BREAKDOWN OF HADOOP-10514 SUBTASKS AND RELATED JIRAS
|
BREAKDOWN OF HADOOP-10514 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HADOOP-10520. Extended attributes definition and FileSystem APIs for
|
HADOOP-10520. Extended attributes definition and FileSystem APIs for
|
||||||
|
|
|
@ -193,7 +193,7 @@ public class NativeAzureFileSystem extends FileSystem {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void close() throws IOException {
|
public synchronized void close() throws IOException {
|
||||||
in.close();
|
in.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue