aws-samples / aws-samples/amazon-keyspaces-java-driver-helpers

Getting exception when I try to use the throttler class with CqlSessionBuilder

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
10
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello,

I've tried to use the throttler in different contexts such as CqlSession, Spark and DSBulk. I've tried to run the test at AmazonKeyspacesFixedRateThrottlerTest.java too but I have always getting an exception saying that a sync method was called from an async context and it can cause a deadlock and finishes the execution. I tried to debug but I could found what's is going wrong. Do you know how may I solve it? I tried both connect to keyspaces directly and by a VPCE.

Thank you

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with CqlSessionBuilder and AmazonKeyspacesFixedRateThrottlerTest.java, then reproduce the reported exception in the CqlSession, Spark, or DSBulk contexts mentioned. Trace where a synchronous method is called from an asynchronous context and document the conditions and supported usage that avoid the failure.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, cassandra, java
Ambito
databases
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.