Class 在 Cloud Bigtable SDK 中找不到
Class not found in Cloud Bigtable SDK
我已经安装了 Google Cloud Bigtable Java SDK,但找不到以下 class: TableName is not a member of package org.apache.hadoop.hbase
。我使用 link 版本 on GitHub:
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-1.0</artifactId>
<version>0.2.2</version>
</dependency>
TableName
class 是 HBase 的一部分,而不是 Cloud Bigtable。例如,看看 Simple-CLI.
您会注意到在 pom.xml
中,我们有:
<dependencies>
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-1.1</artifactId>
<version>${bigtable.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-client</artifactId>
<version>${hbase.version}</version>
</dependency>
其中 bigtable.version
= 0.2.2 且 hbase.version
= 1.1.1
我已经安装了 Google Cloud Bigtable Java SDK,但找不到以下 class: TableName is not a member of package org.apache.hadoop.hbase
。我使用 link 版本 on GitHub:
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-1.0</artifactId>
<version>0.2.2</version>
</dependency>
TableName
class 是 HBase 的一部分,而不是 Cloud Bigtable。例如,看看 Simple-CLI.
您会注意到在 pom.xml
中,我们有:
<dependencies>
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-1.1</artifactId>
<version>${bigtable.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-client</artifactId>
<version>${hbase.version}</version>
</dependency>
其中 bigtable.version
= 0.2.2 且 hbase.version
= 1.1.1