在使用Quickstart的Google Cloud Bigtable中,我尝试创建一个表然后执行" List"这导致下面的错误消息和HBase shell的终止。请指教......谢谢。
hbase(main):003:0> list
TABLE
Exception `NativeException' at /home/chopehill/quickstart/thirdparty/ruby/hbase/admin.rb:48 - java
.io.IOException: Failed to listTables
ERROR: NOT_FOUND: Error listing tables for cluster projects/foodie-1300/zones/us-central1-b/cluste
rs/quickstart-cluster : Failed to read Tables in cluster: quickstart-cluster
Here is some help for this command:
List all tables in hbase. Optional regular expression parameter could
be used to filter the output. Examples:
hbase> list
hbase> list 'abc.*'
hbase> list 'ns:abc.*'
hbase> list 'ns:.*'
hbase(main):004:0> May 03, 2016 6:07:46 AM com.google.bigtable.repackaged.io.grpc.internal.Transpo
rtSet$TransportListener transportShutdown
INFO: Transport com.google.bigtable.repackaged.io.grpc.netty.NettyClientTransport@12679545(bigtabl
etableadmin.googleapis.com/173.194.74.219:443) for bigtabletableadmin.googleapis.com/173.194.74.21
9:443 is being shutdown
May 03, 2016 6:07:46 AM com.google.bigtable.repackaged.io.grpc.internal.TransportSet$TransportList
ener transportTerminated
INFO: Transport com.google.bigtable.repackaged.io.grpc.netty.NettyClientTransport@12679545(bigtabl
etableadmin.googleapis.com/173.194.74.219:443) for bigtabletableadmin.googleapis.com/173.194.74.21
9:443 is terminated
答案 0 :(得分:0)
如注释中所述, NOT_FOUND 错误表明您尝试查询的集群不存在。这可能是由于在使用quickstart.sh
脚本之前如何设置集群而引起的。