[ 
https://issues.apache.org/jira/browse/FLINK-31927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718562#comment-17718562
 ] 

Etienne Chauchot edited comment on FLINK-31927 at 5/2/23 2:54 PM:
------------------------------------------------------------------

This bug has slipped through the ITests because, in the cassandra source tests, 
the cluster builder is configured using _withoutMetrics()_  . In a real 
production use case, a user could want to get the Cassandra driver metrics.


was (Author: echauchot):
This bug has slipped through the ITests because, in the tests, the cluster 
builder is configured using _withoutMetrics()_  . In a real production use 
case, a user could want to get the Cassandra driver metrics.

> Cassandra source raises an exception on Flink 1.16.0 if the user enables the 
> metrics in the cassandra driver
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-31927
>                 URL: https://issues.apache.org/jira/browse/FLINK-31927
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Cassandra
>    Affects Versions: 1.16.0, cassandra-3.1.0
>            Reporter: Etienne Chauchot
>            Assignee: Etienne Chauchot
>            Priority: Blocker
>
> CassandraSplitEnumerator#prepareSplits() raises  
> java.lang.NoClassDefFoundError: com/codahale/metrics/Gauge when calling 
> cluster.getMetadata() leading to NPE in CassandraSplitEnumerator#start() 
> async callback. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to