HBASE-15291 Revert due to race condition resulting in closed FileSystem error

This commit is contained in:
Jerry He 2016-07-21 18:48:56 -07:00
parent 65834a1ced
commit 519f87fc2b
1 changed files with 0 additions and 10 deletions

View File

@ -250,16 +250,6 @@ public class SecureBulkLoadManager {
new SecureBulkLoadListener(fs, bulkToken, conf)); new SecureBulkLoadListener(fs, bulkToken, conf));
} catch (Exception e) { } catch (Exception e) {
LOG.error("Failed to complete bulk load", e); LOG.error("Failed to complete bulk load", e);
} finally {
if (fs != null) {
try {
if (!UserGroupInformation.getLoginUser().equals(ugi)) {
FileSystem.closeAllForUGI(ugi);
}
} catch (IOException e) {
LOG.error("Failed to close FileSystem for " + ugi.getUserName(), e);
}
}
} }
return false; return false;
} }