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:
Zhihong Yu 2014-02-13 02:08:45 +00:00
parent 34948b947b
commit d8c71dcddc
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}
}