Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
0.90.6
-
None
-
None
Description
ZK connection count always goes up by one when running shell command:
hbase(main):001:0> truncate 'table'
This can be fixed with the change in admin.rb:
- h_table = org.apache.hadoop.hbase.client.HTable.new(table_name)
- table_description = h_table.getTableDescriptor()
+ table_description = @admin.getTableDescriptor(table_name.to_java_bytes)