aws-samples / aws-samples/amazon-keyspaces-java-driver-helpers
AmazonKeyspacesFixedRateThrottler: Detected a synchronous API call on a driver thread, failing because this can cause deadlocks.
- Ngôn ngữ chính
- Java
- Star
- 10
- Fork
- 6
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
}
```
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, java
- Lĩnh vực
- backend, databases
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100