HBASE-15291 Revert due to the bug Haitao discovered
This commit is contained in:
parent
d0c818630b
commit
77c3c61b34
|
@ -291,16 +291,6 @@ public class SecureBulkLoadEndpoint extends SecureBulkLoadService
|
|||
new SecureBulkLoadListener(fs, bulkToken, conf));
|
||||
} catch (Exception e) {
|
||||
LOG.error("Failed to complete bulk load", e);
|
||||
} finally {
|
||||
if (fs != null) {
|
||||
try {
|
||||
if(!UserGroupInformation.getCurrentUser().equals(ugi)) {
|
||||
FileSystem.closeAllForUGI(ugi);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
LOG.error("Failed to close FileSystem for " + ugi.getUserName(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue