【问题标题】:Google Cloud Bigtable fails to list tablesGoogle Cloud Bigtable 无法列出表
【发布时间】:2016-05-03 10:15:07
【问题描述】:

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

【问题讨论】:

  • 我认为您的意思是“BigTable”,而不是“BigQuery”,对吧?
  • 这是在云外壳中吗?
  • NOT_FOUND 表示您提供的配置(foodie-1300、us-central1-b、quickstart-cluster)不存在。
  • 我已将快速入门更新为不需要设置 JAVA_HOME。如果您只有一个 Bigtable 集群,那么只需执行以下操作: cd quickstart; chmod +x quickstart.sh; ./quickstart.sh

标签: google-cloud-bigtable


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2018-11-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-30
    • 1970-01-01
    • 2018-04-05
    • 2018-02-16
    • 2016-06-09
    相关资源
    最近更新 更多