/cloud-bigtable-examples

Examples of how to use Cloud Bigtable both with GCE map/reduce as well as stand alone applications.

Primary LanguageJavaApache License 2.0Apache-2.0

Cloud BigTable Examples

There are many examples / sample / demo programs here, each with its own README.

Quickstart

Quickstart/HBase - Create a Cloud Bigtable Cluster and the hbase shell from within a docker container on your local machine

Java

Dataflow

  • Connector-Examples - Using the cloud dataflow connector for Bigtable, do write Hello World to two rows, Use Cloud Pub / Sub to count Shakespeare, and count the number of rows in a Table.
  • Pardo-HelloWorld - example of using Cloud Dataflow without the connector.
  • dataflow-coinbase - An end to end example that takes the last four hours of Bitcoin data and sends it to Google Cloud Dataflow, which process it and sends it to Google Cloud Bigtable. Then there is a Managed VM application that displays the data in an angularJS app.

GoLang

  • search - Create and search a Cloud Bigtable.
  • Bigtable-Hello - Accessing Cloud Bigtable from a Managed VM

Python

  • Thrift - Setup an HBase Thrift server(s) to use Cloud Bigtable and access that from Python to do basic operations.
  • REST - Setup an HBase REST server(s) to use Cloud Bigtable and access it from Python and do basic operations.

Scala / Spark

  • PubSub – Integrating Spark Streaming with Cloud Pubsub
  • Standalone-Wordcount – Simple Spark job that counts the number of times a word appears in a text file
  • Streaming-Wordcount – Pulls new files from a GCS directory every 30 seconds and perform a simple Spark job that counts the number of times a word appears in each new file

Contributing changes

Licensing