Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got empty table list using star base? #17

Open
hoverzheng opened this issue Dec 7, 2015 · 2 comments
Open

I got empty table list using star base? #17

hoverzheng opened this issue Dec 7, 2015 · 2 comments

Comments

@hoverzheng
Copy link

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!!

@barseghyanartur
Copy link
Owner

are you running the stargate on port 8022?

@hoverzheng
Copy link
Author

Thanks for your answer!
I installed hadoop(include hbase) use CDH(Cloudera). Maybe, I should install or start this service.
I try it. Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants