NoSuchMethodError when trying to query Bigtable from dataflow
See original GitHub issueDependencies:
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-beam</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-1.x</artifactId>
<version>1.3.0</version>
</dependency>
Code to query :
ResultScanner resultScanner = table.getScanner(scan);
Exception :
java.lang.NoSuchMethodError: com.google.bigtable.v2.ReadRowsRequest.getAppProfileId()Ljava/lang/String;
at com.google.cloud.bigtable.grpc.BigtableDataGrpcClient.readFlatRows(BigtableDataGrpcClient.java:450)
at com.google.cloud.bigtable.hbase.AbstractBigtableTable.getScanner(AbstractBigtableTable.java:293)
...
Maybe I need to add/update the dependencies?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
NoSuchMethodError when trying to query Bigtable from dataflow
Code to query : ResultScanner resultScanner = table.getScanner(scan);. Exception : java.lang.NoSuchMethodError: com.google.bigtable.
Read more >NoSuchMethodError occurs while trying to connect to Cloud ...
I set up a Cloud Dataflow Pipeline in accordance with this article: https://cloud.google.com/bigtable/docs/dataflow-hbase.
Read more >spotify/scio - Gitter
Hello, I'm trying to use scio-bigtable to write data from a customInput to bigtable. I'm using sbt-pack to create a pack for running...
Read more >Dataflow Connector for Bigtable - Google Cloud
Stay organized with collections Save and categorize content based on your preferences. The Cloud Dataflow connector for Cloud Bigtable makes it possible to...
Read more >Bigtable and Dataflow: Database Monitoring Art (HBase Java ...
Load in large amounts of data to Bigtable using Cloud Dataflow; Monitor Bigtable instances and tables as your data is ingested; Query ......
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
We do some package renaming, which causes this problem. Please remove
bigtable-hbase-1.x
, and things will work.Another option is to create
RowFilter
s directly instead of using the adapter.I’m going to close this for now, since I don’t think that there’s anything actionable.