question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SourceRowCount example seems not working with the higher versions of bean packages?

See original GitHub issue

Basically I am trying to follow the guide from

And I wanted to run the job SourceRowCount to count the bigtable row numbers.

As I used the pom.xml from the second url above, some of the packages are newer than the first url above.

Then in encountered this issue: https://github.com/googleapis/cloud-bigtable-client/issues/2150

Then I used the solution mentioned in the #2150 to change bigtable-hbase-beam to 1.5.0, the local error of com.google.bigtable.repackaged.io.grpc.StatusRuntimeException: UNAUTHENTICATED: Request had invalid authentication credentials. is gone.

However I still have Permission denied error on the log of dataflow job while scan bigtable. I believed that I have set the service accounts correct for my project.

Then I changed <beam.version>2.13.0</beam.version> to <beam.version>2.11.0</beam.version>, my job stopped reporting Permission denined issue on dataflow. However the job still failed after a long hour with message: Workflow failed. Causes: The Dataflow job appears to be stuck because no worker activity has been seen in the last 1h.

So my question now is: How can I do a bigtable row count properly. Should I just use the exact configuration of the SourceRowCount example or?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
igorbernstein2commented, Jul 19, 2019

I’m sorry for the troubles you are having and thank you for the time you’ve spent debugging the issue. The issue is caused by an inconsistent configuration of the bigtable-batch.googleapis.com endpoint and gRPC’s JWT support. I just added a workaround: #2187 that should fix the issue until we get it sorted on the serverside.

1reaction
liufuyangcommented, Jul 3, 2019

@rahulKQL Yes, I tried again with the official code and beam version 2.13.0 and there was no issues. But if I use the code and pom.xml above I provided, I would get this issue, even with the same service account setup. However I guess I should probably just use the example code then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SourceRowCount example seems not working with the higher ...
SourceRowCount example seems not working with the higher versions of bean ... some of the packages are newer than the first url above....
Read more >
Untitled
Example : Energy demand forecasting The Jira Server platform provides the REST API for common features, like issues and workflows. First, visit the...
Read more >
Untitled
Finding records in one table not present in another table. SAP enhancement package for SAP ERP, version for SAP HANA. Table/Structure Field list...
Read more >
Untitled
SAP enhancement package for SAP ERP, version for SAP … ... Field status groups can be used to make certain fields required, not...
Read more >
Import definition. [15MB] Understand the Export Process to ...
The import statement is the most common way of invoking the import machinery, but it is not the only way. Such as cocoa...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found