尝试从 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>
任何帮助,将不胜感激!