2

在使用 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
4

1 回答 1

1

如评论中所述,NOT_FOUND错误表明您尝试查询的集群不存在。quickstart.sh这可能是由于您在使用脚本之前设置集群的方式存在问题。

于 2019-03-21T13:25:06.807 回答