bipinprasad commented on PR #3525:
URL: https://github.com/apache/storm/pull/3525#issuecomment-1678000921

   I tried a few things to get the Cassandra running (like application an 
application.conf file) with content:
   `datastax-java-driver {
     basic.load-balancing-policy {
       local-datacenter = "datacenter1"
     }
   }    
   `
   and read the conf file when creating the cql session. This gets rid of the 
localdatacenter error.
   However, looks like there is a basic incompatibility with JDK17 and 
Cassandra. JDK17 will not allow call to System.setSecurityManager and throws 
the following Exception for me. And I dont know how to get around this.
   `java.lang.UnsupportedOperationException: The Security Manager is deprecated 
and will be removed in a future release
       at java.lang.System.setSecurityManager(System.java:429) ~[?:?]
       at 
org.apache.cassandra.security.ThreadAwareSecurityManager.install(ThreadAwareSecurityManager.java:96)
 ~[cassandra-all-4.1.3.jar:4.1.3]
       at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:248) 
~[cassandra-all-4.1.3.jar:4.1.3]
       at 
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:751) 
~[cassandra-all-4.1.3.jar:4.1.3]
       at 
org.apache.storm.cassandra.testtools.EmbeddedCassandraResource.startCassandraDemonAndInitialize(EmbeddedCassandraResource.java:80)
 ~[test-classes/:?]
       at 
org.apache.storm.cassandra.testtools.EmbeddedCassandraResource.beforeAll(EmbeddedCassandraResource.java:95)
 ~[test-classes/:?]
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@storm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to