Re: Ignite Cluster with remote server + Cassandra Persistence

2018-08-02 Thread Вячеслав Коптилин
Hello, The first problem is related to a bug in the implementation of `PojoField` class. This is a known issue https://issues.apache.org/jira/browse/IGNITE-8788 Unfortunately, that bug is not resolved yet. In any way, the workaround that I provided above should do a trick. The second issue is

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-08-02 Thread okiesong
I also found this while trying to resolve this problem which is still unresolved. https://issues.apache.org/jira/browse/IGNITE-5998 Will this be impacted? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-08-02 Thread okiesong
Hi, does anyone have a solution to the problem I am having right now? thanks in advance. I really need an input for this problem. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-30 Thread okiesong
Hi, can I get an update on this? I am just wondering how I should approach this problem. Thanks again! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-27 Thread okiesong
Hi, I am basically starting Ignite node through my Java project. When I run the above specified code, I first run the ignite.sh from my remote server as well. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-26 Thread Вячеслав Коптилин
Hello, > Just wondering, can I know why we are creating a custom CassandraCacheStoreFactory? It seems that the problem is PojoField#accessor field which is declared as `transient` and so this field is not serialized/deserialized. Therefore, it can lead to NullPointerException. The `PojoField`

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-26 Thread okiesong
Hi, first of all, thanks once again, I have tried your approach (after uploading new jar to lib folder as a new class was introduced), but I am getting a below error. FYI, "ignite-cass-delta" is the name of the default cache name I am using. Thanks again! [11:36:25] Topology snapshot [ver=9,

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-26 Thread okiesong
Ok, thanks again. I will try it today and let you know the result. Just wondering, can I know why we are creating a custom CassandraCacheStoreFactory? Thanks in advance. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-26 Thread Вячеслав Коптилин
Hello, It seems I found the root cause of the issue. Could you please try the following workaround? 1. create your own CacheStoreFactory public class CustomCassandraCacheStoreFactory extends CassandraCacheStoreFactory { private final String persistenceSettingsXml; public

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-25 Thread okiesong
Hi, so I have provided my code structures, just in case my POJOExample.java looks as below; this is used for key-value setting for persistence setting for Cassandra. Thanks once again! POJOExample.java public class POJOExample implements Serializable{ @QuerySqlField(index=true,

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-25 Thread okiesong
Hi, so I have provided my code structures, just in case my POJOExample.java looks as below; this is used for key-value setting for persistence setting for Cassandra. Thanks once again! POJOExample.java public class POJOExample implements Serializable{ @QuerySqlField(index=true,

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-25 Thread okiesong
Thanks in advance. (This may be duplicate, as I forgot to put few other details. ) I am basically using the sample xml provided for Ignite TcpDiscoveryVmIpFinder, but with Cassandra third party persistence. public Ignite startIgnite { IgniteConfiguration cfg = new IgniteConfiguration();

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-24 Thread Вячеслав Коптилин
Hello, It does not seem to me, that the issue is somehow related to the thread you mentioned. I bet the root cause of the problem is a misconfiguration. At least, the exception message tells me that CassandraCacheStore class cannot be initialized for some reason: java.lang.NullPointerException

Ignite Cluster with remote server + Cassandra Persistence

2018-07-24 Thread okiesong
How can I use Ignite cluster with remote servers? Currently, I am getting a below error. FYI, I have already configured my TcpDiscoveryVmIpFinder and TcpCommunicationSpi correctly, but for some reason, it is pointing at 10.209.236.58 which is from localhost, and thus the server is not able to