AmazonKeyspacesFixedRateThrottler: Detected a synchronous API call on a driver thread, failing because this can cause deadlocks.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by reproducing the failure with the AmazonKeyspacesFixedRateThrottler configuration shown in the issue and trace where the throttler is instantiated. Determine why synchronous API calls occur on the driver thread; done means the configuration initializes without the reported deadlock-prevention error.
Written by the indexing model from the issue text.
Description
Class AmazonKeyspacesFixedRateThrottler doesn't seem to work. The error is,
2024-04-23 01:08:22,107 ERROR [main] log.GlueLogger (GlueLogger.scala:error(7)): ERROR: Detected connectivity issue. Check the reference conf file/Glue connection for the source, the job is aborted java.io.IOException: Failed to open native connection to Cassandra at Profile based config at CassandraConnector.conf :: Error instantiating class com.aws.ssa.keyspaces.throttler.AmazonKeyspacesFixedRateThrottler (specified by advanced.throttler.class): Detected a synchronous API call on a driver thread, failing because this can cause deadlocks.
Here's the configuration block I'm using,
advanced.throttler {
class = com.aws.ssa.keyspaces.throttler.AmazonKeyspacesFixedRateThrottler
max-requests-per-second = 100
number-of-hosts = 3
register-timeout = 15 seconds
}
- Dominant language
- Java
- Stars
- 10
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws-samples/amazon-keyspaces-java-driver-helpers
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
aws-samples/amazon-keyspaces-java-driver-helpers#5 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in aws-samples/amazon-keyspaces-java-driver-helpers
Similar issues
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/flink-agents#1156 ·
-
[source-shopify] FAILED bulk operation without partialDataUrl is silently treated as successful Openarea/connectors autoteam community connectors/source/shopify needs-triage team/use type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100