Are there plans to enable Cloud Dataflow to write data to Cloud Bigtable? Is it even possible?
Adding a custom Sink
to handle the IO would probably be the clean choice.
As a workaround, I tried connecting to a Bigtable (same project) in a simple DoFn
. Opening the connection and table in the startBundle
step and closing them in finishBundle
.
Moreover, I added the bigtable-hbase jar (0.1.5)
to the classpath and a modified version of hbase-site.xml
to the resource folder which gets picked up.
When running in the cloud, I get a NPN/ALPN extensions not installed
exception.
When running locally, I get an exception stating that ComputeEngineCredentials cannot find the metadata server.
despite having set the GOOGLE_APPLICATION_CREDENTIALS
to the generated json key file.
Any help would be greatly appreciated.
NPN/ALPN extension not installed
error. Lets see what've to be done to correct it.. – The Coder