diff --git a/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraSessionPool.java b/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraSessionPool.java index 9857ccebf9..302cad6350 100644 --- a/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraSessionPool.java +++ b/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraSessionPool.java @@ -66,13 +66,13 @@ public synchronized void open() { int port = config.get(CassandraOptions.CASSANDRA_PORT); assert this.cluster == null || this.cluster.isClosed(); + /* + * Here is incompatible, java11 glassfish + * metrics use version 4,but cassandra metrics + * use version 3. + */ Builder builder = Cluster.builder() .addContactPoints(hosts.split(",")) - /* - * Here is incompatible, java11 glassfish - * metrics use version 4,but cassandra metrics - * use version 3. - */ .withoutMetrics() .withPort(port);