Overview of Maven artifacts
The Cloud Bigtable HBase client for Java includes the following Maven artifacts that you can use in your project. All of the artifacts are based on HBase 1.x:
bigtable-hbase-1.x: Use this artifact for standalone applications where you control your dependencies.
bigtable-hbase-1.x-hadoop: Use this artifact for Hadoop environments.
bigtable-hbase-1.x-shaded: Use this artifact for environments other than Hadoop that require older versions of the HBase client for Java's dependencies, such as protobuf and Guava.
The remainder of these instructions assumes that you are using
Adding a Cloud Bigtable artifact to a project
To add a Cloud Bigtable artifact to a Maven project, simply add the artifact to
<dependencies> section of your
pom.xml file, along with the artifact for
To add the required artifacts:
<dependency> <groupId>com.google.cloud.bigtable</groupId> <artifactId>bigtable-hbase-1.x</artifactId> <version>1.0.0-pre1</version> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-tcnative-boringssl-static</artifactId> <version>1.1.33.Fork26</version> </dependency>
Learn how to connect to Cloud Bigtable.