Hi,

Apache Ignite 2.7 has an updated version for a number of dependencies. It
was done for security reasons and to remove possible vulnerable versions of
components from Apache Ignite distribution.

Probably you know: Which version of Guava is compatible with Apache
Cassandra store? Are there any new versions of Cassandra compatible with
newer Guava?

I'm not an expert in Apache Cassandra, but one thing seems to be strange
for me, why stack trace with exception starts from com.datastax, but not
from org.apache.cassandra.

As a workaround, you always can try to re-define Guava in your pom.

Sincerely,
Dmitriy Pavlov


ср, 2 янв. 2019 г. в 13:56, Serg <sergey.ma...@ardas.dp.ua>:

> Hi All
>
> I got exceptions in ignite  after update to 2.7.0
>
> 2019-01-02 10:09:52,824 ERROR [cassandra-cache-loader-#101]
> log4j.Log4JLogger (Log4JLogger.java:586) - Failed to execute Cassandra
> loadContactsCache operation
> class org.apache.ignite.IgniteException: Failed to execute Cassandra
> loadContactsCache operation
>
> Caused by: class org.apache.ignite.IgniteException: Failed to establish
> session with Cassandra database
>         at
>
> org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl.session(CassandraSessionImpl.java:586)
>         at
>
> org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl.execute(CassandraSessionImpl.java:394)
>         ... 6 more
> Caused by: java.lang.NoSuchMethodError:
>
> com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
>         at
> com.datastax.driver.core.policies.Policies$Builder.build(Policies.java:285)
>         at
>
> com.datastax.driver.core.Cluster$Builder.getConfiguration(Cluster.java:1246)
>         at com.datastax.driver.core.Cluster.<init>(Cluster.java:116)
>         at com.datastax.driver.core.Cluster.buildFrom(Cluster.java:181)
>         at
> com.datastax.driver.core.Cluster$Builder.build(Cluster.java:1264)
>         at
>
> org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl.session(CassandraSessionImpl.java:581)
>         ... 7 more
>
>
> Look like problem in parent dependencies which manage guava to 25. But
> cassandra-driver incompatible with this version of guava.
>
>
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to