ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Gura <ag...@apache.org>
Subject Re: Inserting Data From Spark to Ignite
Date Tue, 18 Jul 2017 17:43:34 GMT
Please, try use other JDBC driver version. You mNge it by JDBC
connections string. Checkout this article [1].

[1] https://apacheignite.readme.io/docs/jdbc-driver#jdbc-connection

On Tue, Jul 18, 2017 at 7:02 PM, limabean <drobin1437@gmail.com> wrote:
> Here is the requested example code demonstrating one of the methods that is
> failing to write to Ignite.
> The readme shows the full stack trace appearing from the app as it runs in
> Spark 2.1
> I first run the CreateIgniteCache program and verify using a DB tool that
> the Cache and Table are successfully created in Ignite as expected.  The DB
> tool shows a "schema name" (cache name) of TESTCACHE and a single table in
> the schema called SAMPLETABLE.  SAMPLETABLE has the 3 columns with the
> correct types as expected.
> Next I run the TestCacheWrite2 program which receives a
>>> java.sql.SQLFeatureNotSupportedException: Updates are not supported.
> exception (with this particular example, I was able to work through the
> "cannot connect" error I repeated previously.
> This is on apache-ignite-2.0.0-src built from source.  It is my
> understanding this version supports updates.
> Updates (data inserts, etc) work from Java programs.  Spark is failing.
> Thanks for the help and advice.
> Sample Project:
> https://github.com/graben1437/SparkToIgniteTest/tree/master
> --
> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Inserting-Data-From-Spark-to-Ignite-tp14937p15066.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message