bigtable - Admin.listTables() 无法获取 TableDescriptor()

标签 bigtable google-cloud-bigtable

尝试从 bigtable 获取表列表时出现以下错误;

15/08/19 12:21:51 INFO grpc.BigtableSession: Opening connection for projectId test-xxx-xxx-xxx, zoneId us-central1-b, clusterId hbase-test1, on data host bigtable.googleapis.com, table admin host bigtabletableadmin.googleapis.com.
java.io.IOException: Failed to getTableDescriptor() on customer
at org.apache.hadoop.hbase.client.AbstractBigtableAdmin.getTableDescriptor(AbstractBigtableAdmin.java:264)
at org.apache.hadoop.hbase.client.AbstractBigtableAdmin.getTableDescriptors(AbstractBigtableAdmin.java:146)
at org.apache.hadoop.hbase.client.AbstractBigtableAdmin.listTables(AbstractBigtableAdmin.java:140)
at com.zulily.dataservice.connectivity.BigTableListCommand.run(BigTableListCommand.java:38)

如示例所示(https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/blob/master/java/simple-cli/pom.xml);我在 pom 中有以下条目

<dependency>
  <groupId>com.google.cloud.bigtable</groupId>
  <artifactId>bigtable-hbase-1.1</artifactId>
  <version>0.2.0</version>
</dependency>
<dependency>
  <groupId>org.apache.hbase</groupId>
  <artifactId>hbase-client</artifactId>
  <version>1.1.1</version>
</dependency>
<dependency>
    <groupId>org.mortbay.jetty.alpn</groupId>
    <artifactId>alpn-boot</artifactId>
    <version>7.1.0.v20141016</version>
</dependency>

如有任何帮助,我们将不胜感激!

最佳答案

您是否有关于 IOException 原因的更多信息?

关于bigtable - Admin.listTables() 无法获取 TableDescriptor(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32104086/

相关文章:

nosql - Cassandra/BigTable 数据模型 - 构建索引的最佳方法是什么?

azure - 用于查询某个范围内的值的表存储设计

java - BigQueryIO.Read 查询与作业 : Query

java - 在灵活的环境中部署bigtable helloworld不起作用

google-cloud-dataflow - 数据流中的 Cloud Bigtable 多前缀扫描

google-cloud-bigtable - 高可用性是否需要多个 Google BigTable 节点?

go - BigTable 中多列的过滤器

python - 如何使用Python从Bigtable中获取过滤后的数据?

mysql - 向 MySQL 单元添加时间维度

python - Google App Engine 上的 ListProperty 与 StringListProperty