YARN-4228. FileSystemRMStateStore use IOUtils#close instead of fs#close. (Bibin A Chundatt via rohithsharmaks)
(cherry picked from commit 3793cbe4c3
)
This commit is contained in:
parent
053fcf4c0d
commit
99126714a3
|
@ -867,6 +867,8 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-4141. Runtime Application Priority change should not throw exception
|
YARN-4141. Runtime Application Priority change should not throw exception
|
||||||
for applications at finishing states (Sunil G via jlowe)
|
for applications at finishing states (Sunil G via jlowe)
|
||||||
|
|
||||||
|
YARN-4228. FileSystemRMStateStore use IOUtils#close instead of fs#close. (Bibin A Chundatt via rohithsharmaks)
|
||||||
|
|
||||||
Release 2.7.2 - UNRELEASED
|
Release 2.7.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -718,7 +718,7 @@ public class FileSystemRMStateStore extends RMStateStore {
|
||||||
new FSAction<Void>() {
|
new FSAction<Void>() {
|
||||||
@Override
|
@Override
|
||||||
public Void run() throws Exception {
|
public Void run() throws Exception {
|
||||||
fs.close();
|
IOUtils.closeStream(fs);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}.runWithRetries();
|
}.runWithRetries();
|
||||||
|
|
Loading…
Reference in New Issue