HBASE-10510 HTable is not closed in LoadTestTool#loadTable()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1567830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
34948b947b
commit
d8c71dcddc
|
@ -485,6 +485,8 @@ public class LoadTestTool extends AbstractHBaseTool {
|
|||
} catch (Throwable e) {
|
||||
LOG.fatal("Error in granting permission for the user " + userOwner.getShortName(), e);
|
||||
return EXIT_FAILURE;
|
||||
} finally {
|
||||
table.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue