UNAUTHENTICATED error writing to BigTable with GOOGLE_APPLICATION_CREDENTIALS
See original GitHub issuein pom.xml, if I specify the following version, running Dataflow DirectRunner with GOOGLE_APPLICATION_CREDENTIALS that has BigTable admin role would result in UNAUTHENTICATED error
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-beam</artifactId>
<version>1.10.0</version>
</dependency>
The output contains many retry errors of com.google.bigtable.repackaged.io.grpc.StatusRuntimeException: UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential The fix is to change the pom.xml section to
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-beam</artifactId>
<version>1.5.0</version>
</dependency>
The output does not contain retry errors writing to BigTable
Please update your README.md to use the 1.5.0 version as an example so developers don’t have to dig around to find the official doc to add the 1.5.0 version. Is 1.10.0 broken by nature?
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Google Cloud Bigtable authentication with Go - Stack Overflow
PermissionDenied Code = 7 // Unauthenticated indicates the request does not have valid // authentication credentials for the operation.
Read more >Error messages | Document AI - Google Cloud
Verify that you have a valid service account key JSON file stored in the GOOGLE_APPLICATION_CREDENTIALS environment variable. To diagnose this error, try ...
Read more >Google Bigtable - Portal - StreamSets Docs
The Google Bigtable destination writes data to Google Cloud Bigtable. For information about supported versions, see Supported Systems and Versions.
Read more >google-cloud Documentation
•Environment variable GOOGLE_APPLICATION_CREDENTIALS pointing to a file ... This defines api_request() for making a generic JSON API request ...
Read more >Auth for connecting to BigTable from a compute instance
have an app connecting to Google Bigtable using the ... scope (required for reading/writing to Bigtable). The connection works fine ... The error...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For future reference, version >= 1.11.1-SNAPSHOT of the bigtable client have a workaround. I will release version 1.12.0 next week
I will give a try 😃