-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoSuchMethodError occurs while trying to connect to Cloud Bigtable from a Cloud Dataflow worker #613
Comments
This looks like a subtle dependency issue. Are you using maven? If so, can you post your dependencies? |
@sduskis Thank you for your reply. Yes, I'm using Maven. Here are my dependencies:
|
This problem is the same as: #613 I think that the problem here is that both Dataflow and Bigtable include io.grpc. Bigtable uses the shading plugin and changes package names, but didn't change the io.grpc package names, as described here: #582 Your best bet to get around the problem is to use the 0.2.3-SNAPSHOT version of bigtable-hbase. You'll have to add the following in your pom.xml to be able to use SNAPSHOTs:
We'll release an official version ASAP in the new year. |
@sduskis Thanks a lot! I could put records to Cloud Bigtable successfully by using 0.2.3-SNAPSHOT version of bigtable-hbase-dataflow. I'm looking forward to getting an official version. |
As per this stack overflow thread, this issue is resolved in 0.2.3: http://stackoverflow.com/questions/34495233/nosuchmethoderror-occurs-while-trying-to-connect-to-cloud-bigtable-from-a-cloud/34499757#34499757 |
I set up a Cloud Dataflow Pipeline in accordance with this article: https://cloud.google.com/bigtable/docs/dataflow-hbase
When I submit it to the Cloud Dataflow managed service, I got the following error at a Cloud Dataflow worker:
How should I handle this problem?
My Cloud Dataflow Pipeline source code is the following:
The text was updated successfully, but these errors were encountered: