Skip to content

Commit

Permalink
Merge branch 'GORA-506' of https://github.com/cloudysunny14/gora
Browse files Browse the repository at this point in the history
  • Loading branch information
lewismc committed Mar 14, 2017
2 parents aa01be9 + 2caa0ea commit 3f32321
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -165,7 +165,7 @@ public void ensureTable(byte[] tableName, byte[][] cfs) throws IOException {
public void truncateAllTables() throws Exception {
HBaseAdmin admin = htu.getHBaseAdmin();
for(HTableDescriptor table:admin.listTables()) {
HTable hTable = htu.truncateTable(table.getName());
HTable hTable = htu.deleteTableData(table.getName());
hTable.close();
}
}
Expand Down

0 comments on commit 3f32321

Please sign in to comment.