Skip to content

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

License

Notifications You must be signed in to change notification settings

rameshdharan/cloud-bigtable-examples

 
 

Repository files navigation

Google Cloud Bigtable examples

ghit.me

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

  • Simple-CLI - A simple command line interface for Cloud Bigtable that shows you how to do basic operations with the native HBase API
  • Hello World - A minimal application that demonstrates using the native HBase API to create a temporary table, write some rows, read them back and clean up
  • Import HBase Sequence files Import HBase sequence files directly to Cloud Bigtable using Dataflow.
  • Dataproc Wordcount using Map/Reduce - How to load data to Cloud Bigtable using Dataproc on GCE
  • GAE Flexible-Hello World - Accessing Cloud Bigtable from App Engine Flexible / JSON Upload / Download

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 an App Engine Flexible application that displays the data in an angularJS app.

Go

  • cbt doc Basic command line interactions with Cloud Bigtable - A really great place to start learning the Go Client.
  • Bigtable-Hello - Accessing Cloud Bigtable from App Engine Flexible
  • search - Create and search a Cloud Bigtable.

Python

  • Thrift - Setup an HBase Thrift server(s) to use Cloud Bigtable and access that from Python to do basic operations.
    • AppEngine SSL Gateway - Shows how to setup and secure an HBase Thrift gateway and then access it from App Engine.
  • REST - Setup an HBase REST server(s) to use Cloud Bigtable and access it from Python and do basic operations.

Contributing changes

Licensing

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 60.4%
  • Scala 12.4%
  • Shell 11.4%
  • Python 9.9%
  • HTML 3.0%
  • Makefile 1.8%
  • JavaScript 1.1%