from starbase import Connection
c = Connection(host='192.168.1.11', port=8022)
print c.tables()
but I got empty table list:
[]
(2) Use hbase shell:
[hdfs@hdp01~]$ hbase shell
15/12/07 16:47:50 INFO Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
HBase Shell; enter 'help' for list of supported commands.
Type "exit" to leave the HBase Shell
Version 0.98.6-cdh5.3.3, rUnknown, Wed Apr 8 15:00:15 PDT 2015
hbase(main):001:0> list
TABLE
mytable
transactions_hbase
users
3 row(s) in 1.8320 seconds
=> ["mytable", "transactions_hbase", "users"]
What's this problem? How can I solve it?
Thank you!!
Hello All:
(1) I install starbase and write a python script:
from starbase import Connection c = Connection(host='192.168.1.11', port=8022) print c.tables()
but I got empty table list: []
(2) Use hbase shell:
[hdfs@hdp01~]$ hbase shell 15/12/07 16:47:50 INFO Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available HBase Shell; enter 'help' for list of supported commands.
Type "exit" to leave the HBase Shell
Version 0.98.6-cdh5.3.3, rUnknown, Wed Apr 8 15:00:15 PDT 2015
hbase(main):001:0> list TABLE
mytable
transactions_hbase
users
3 row(s) in 1.8320 seconds
=> ["mytable", "transactions_hbase", "users"]
What's this problem? How can I solve it? Thank you!!