ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Ozerov <voze...@gridgain.com>
Subject Re: h2.IgniteH2Indexing.start
Date Tue, 27 Nov 2018 07:44:15 GMT
Hi Srikanth,

Apache Ignite 2.6.0 should use H2 1.4.195. But you use H2 1.4.197. This is
the most likely cause of the error.

On Mon, Nov 26, 2018 at 5:47 PM srikanth.merugu@tcs.com <
srikanth.merugu@tcs.com> wrote:

> Hi
>
> Am trying to read data from Ignite cache from SPARK and facing below error
> while creating IgniteContext
>
>  val ic = new IgniteContext(sc, () =>new
> IgniteConfiguration()).fromCache("PUBLIC")
>
> Error:
> java.lang.NoSuchFieldError: serializer
>   at
>
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.start(IgniteH2Indexing.java:2539)
>   at
>
> org.apache.ignite.internal.processors.query.GridQueryProcessor.start(GridQueryProcessor.java:242)
>   at
>
> org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1739)
>   at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:981)
>   at
>
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2014)
>   at
>
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1723)
>   at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1151)
>   at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:671)
>   at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:611)
>   at org.apache.ignite.Ignition.getOrStart(Ignition.java:419)
>   at org.apache.ignite.spark.IgniteContext.ignite(IgniteContext.scala:150)
>   at org.apache.ignite.spark.IgniteContext.<init>(IgniteContext.scala:63)
>
> Using below jars to read and connect to ignite from Spark:
> --------------------
>
> ignite-core-2.6.0.jar,ignite-spring-2.5.0.jar,ignite-spark-2.6.0.jar,cache-api-1.1.0.jar,
>
> ignite-log4j-2.5.0.jarlog4j-1.2.15.jar,ignite-indexing-2.6.0.jar,h2-1.0.60.jar,h2-1.4.197.jar
>
> required your help
> Thanks ,
> Srikanth Merugu
>
>
>
>
> --
> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message