YARN-4228. FileSystemRMStateStore use IOUtils#close instead of fs#close. (Bibin A Chundatt via rohithsharmaks)

This commit is contained in:
Rohith Sharma K S 2015-10-07 10:12:14 +05:30
parent 9156fc60c6
commit 3793cbe4c3
2 changed files with 3 additions and 1 deletions

View File

@ -919,6 +919,8 @@ Release 2.8.0 - UNRELEASED
YARN-4141. Runtime Application Priority change should not throw exception
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
INCOMPATIBLE CHANGES

View File

@ -718,7 +718,7 @@ private void closeWithRetries() throws Exception {
new FSAction<Void>() {
@Override
public Void run() throws Exception {
fs.close();
IOUtils.closeStream(fs);
return null;
}
}.runWithRetries();