Re: “Failed to communicate with Ignite cluster" error when using JDBC Thin driver

2017-12-22 Thread gunman524
We are using mybatis to manage connection, is that matters? BTW, I check the code in JdbcThinTcpIo method sendRequest JdbcResponse sendRequest(JdbcRequest req) throws IOException { int cap = guessCapacity(req); BinaryWriterExImpl writer = new BinaryWriterExImpl(null, new

Re: Page eviction mode is ignored

2017-12-22 Thread Denis Magda
Hi Sergey, > But... page eviction doesn't work for "inMemory" memory region... Why? If Ignite persistence is enabled, then the page-based evictions have no effect because the oldest pages will be purged from memory automatically. Updated the text of the warning to makes things clearer. > Does

Page eviction mode is ignored

2017-12-22 Thread Sergey Sergeev
Hi, I'm confused. After the successful launch of the Ignite cluster version 2.3.0, I saw the WARN message: WARN GridCacheDatabaseSharedManager - Page eviction mode for [inMemory] memory region is ignored because Ignite Native Persistence is enabled Ignite spring config see below: ...

Re: loadAll and removeAll from cache with custom store

2017-12-22 Thread slava.koptilin
Hi Matt, I've tried the following code based on your configuration and it works. public static void main(String[] args) throws Exception { Ignite ignite = Ignition.start(createIgniteConfiguration()); IgniteCache cache1 =

How to Load Data from DataBase to Ignite which have native persistence enabled

2017-12-22 Thread siva
Hi, I am very new to ignite,I am working around the examples. I have used cache store factory to load the data from sql server database to ignite which is configured with native persistence This is my code: public String getData(String query, String key) throws Exception {

Re: loadAll and removeAll from cache with custom store

2017-12-22 Thread matt
Hi, The size in my store is about 9k. I do have loadAll() working now, so once that completes, the cache has 9k items as well. For deleteAll(), I had it work once where it called my adapter multiple times with all of the expected keys. But then restarting my app and trying again (after loading

Re: When do we get this error - Unknown pair [platformId=0, typeId=1078091073]]

2017-12-22 Thread dkarachentsev
Hi, Looks like not on all nodes exist your classes. Please check if all classes that you're using in cache are available on all nodes. Thanks! -Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: loadAll and removeAll from cache with custom store

2017-12-22 Thread slava.koptilin
Hi Matt, I think you can use IgniteCache.loadCache() [1] in order to load all key-value pairs into the cache before running any job. > For removeAll, I'm seeing that my cache store adapter only ever gets > called once (deleteAll) but the keys only ever have 1000 keys I've tried this use case and

Re: How to do 'stream processing' and more questions of a Ignite newbie

2017-12-22 Thread svonn
Hi, Thanks alot! I managed to finally get my interpolation up an running. Most of my questions were caused by confusing due to weird peer class loading errors. The errors I encountered while having peer class loading enabled apparently were caused by classes not getting redeployed on the ignite

Re: Is it possible to import existing mysql database from file in console?

2017-12-22 Thread dkarachentsev
Hi, There are few options: 1) You need to have backups to survive node loss. [1] 2) You may enable persistence to survive grid restart and store more data that available in memory. [2] 3) Checkout nohup command [3] [1] https://apacheignite.readme.io/docs/primary-and-backup-copies [2]

When do we get this error - Unknown pair [platformId=0, typeId=1078091073]]

2017-12-22 Thread Naveen
Hi Am using 2.3 I have created cache called Account, was trying to access data thru rest API with the below URL http://10.144.114.115:8080/ignite?cmd=get=A10001=Account This is the response I get {"successStatus":1,"sessionToken":null,"error":"Failed to handle request: [req=CACHE_GET,

Re: How to connect apache ignite node by static ip address

2017-12-22 Thread manatee
Mission complete. I created VPN server on my hetzner server and connect my client node to vpn. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/