Hi Lighfer,

Please properly subscribe to the mailing list so that the community can
receive email notifications for your messages. To subscribe, send empty
email to [email protected] and follow simple instructions in
the reply.


Lighfer wrote
> I hava billions of JSON data exported from MySQL, and want to import them
> to Apache Ignite cluster to use SQL JOIN feature to speed up the query,
> without connect to any database.
> 
> I use ignite-schema-import to generate POJO classes and CacheConfig, try
> to insert data(parsed from JSON) into cache, but I get this exception:
> class org.apache.ignite.IgniteCheckedException: Failed to start component:
> class org.apache.ignite.IgniteException: Failed to initialize cache store
> (data source is not provided).
> 
> In my case, I can only provide generate POJO classes and data in JSON
> format, Is it the wrong way I try? is that any other ways to archive my
> purpose?

Schema import utility is designed explicitely to integrate with RDBMS. Your
case is more specific, so you should manually create POJO classes and use
data streamer to load the data from JSON files:
https://apacheignite.readme.io/docs/data-loading#ignitedatastreamer

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/pure-memory-SQL-Grid-tp10464p10493.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to