Cannot query on a cache using Cassandra as a persistent store

2016-09-21 Thread zhaogxd
Hi, I am in the process of trying out the Ignite Cassandra integration feature. I was able to setup a Java project to launch an ignite node using the configuration files presented in the Cassandra Integration- Example page ( https://apacheignite.readme.io/docs/examples

Ignite LINQ Help

2016-09-21 Thread Murthy Kakarlamudi
Hi all, I created a sample example based on the LINQExample provided in Ignite Examples. However I am not getting expected results. Any help is much appreciated. In my for loop at the end I am expecting the last 10 entries. But nothing is getting displayed. Any help is much appreciated.

Re: Data grid client errors out when datasource not defined

2016-09-21 Thread amdam23000
Hi Anton, really appreciate your help. Yes, with datasource specified in client side (datasource as property or a bean) it works fine. But i wonder why client need to have datasource to successfully access cache, i think client has no need to access database directly but instead just

Re: Adding fields to QueryEntity

2016-09-21 Thread vkulichenko
This will include adding fields as well. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Adding-fields-to-QueryEntity-tp7814p7866.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: AtomicSequence not working when shutting down one server node from a cluster

2016-09-21 Thread hitansu
This is the link to the code. https://github.com/hitansu/ScalableUniqueIdGenerator/tree/master/src/main/java client/IdGeneratorClient.java is the main class. 1. Started server nodes by executing the ignite.bat 2.

Out of order updates for CacheEntryListeners and multi-cache transactions

2016-09-21 Thread ross.anderson
Hi, So with a simple setup: Two nodes, A and B Two TRANSACTIONAL caches y and z, both On node B I register a CacheEntryCreatedListener to cache y and to cache z which just logs directly out on the same thread. On node A I: Start a transaction Insert the value '1', '1' to

Re: [EXTERNAL] Re: Failed to write class name to file: java.io.FileNotFoundException

2016-09-21 Thread chevy
Yes, I did provide permissions using your solution but still running into same issue. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Failed-to-write-class-name-to-file-java-io-FileNotFoundException-tp7855p7863.html Sent from the Apache Ignite Users mailing list

Re: Apache Ignite cluster in AWS using IP without Multicast

2016-09-21 Thread Vladislav Pyatkov
Hi, Ignite has a special IP finder for AWS. Look at the article[1]. [1]: https://apacheignite.readme.io/docs/aws-config On Tue, Sep 20, 2016 at 10:39 PM, Mohammad Shariq wrote: > > Hi, >> >> I am trying Ignite for serving caching needs. >> >> >> I want to have a cluster

Re: Wat is the default SSL port for ignite

2016-09-21 Thread vdpyatkov
Hi, If SSL configured, communication and discovery SPIs will be working through security socket. All ports discovery and communication, which port do you mean? ctalluri wrote > If we enable SSL, what is the default SSL port for ignite > > -Thanks in advance -- View this message in

Re: [EXTERNAL] Re: Failed to write class name to file: java.io.FileNotFoundException

2016-09-21 Thread Vladislav Pyatkov
Ensure, that you have read and execute permissions to all child directories as well. *chmod o+rx /opt/ignite/apache-ignite-fabric-1.6.0-bin/work/marshaller/* On Wed, Sep 21, 2016 at 4:58 PM, chevy wrote: > Yes, I have given rwxrwxrwx to ‘marshaller’ folder and

Re: [EXTERNAL] Re: Failed to write class name to file: java.io.FileNotFoundException

2016-09-21 Thread chevy
Yes, I have given rwxrwxrwx to ‘marshaller’ folder and rwxr-xr-x permissions to files inside it. Please suggest if I need to change anything here. -- Regards, Chetan. From: "vdpyatkov [via Apache Ignite Users]" Date: Wednesday, September 21, 2016 at 7:22

Re: Failed to write class name to file: java.io.FileNotFoundException

2016-09-21 Thread Vladislav Pyatkov
Hi, Are you sure, your application have enough permission on write to the directory (/opt/ignite/apache-ignite-fabric-1.6.0-bin/work/marshaller/)? On Wed, Sep 21, 2016 at 12:43 PM, chevy wrote: > Hi, > > I am getting below error when I try to add data to cache. It

Ignite data nodes without participating in transaction

2016-09-21 Thread newbie
Hi, We are prototyping Ignite data grid with replicated, write through cache which is transactional. In our Ignite cluster and we see that transaction times go high when we include nodes across data centers (required for disaster recovery) due to the higher network latency. But we would to

Failed to write class name to file: java.io.FileNotFoundException

2016-09-21 Thread chevy
Hi, I am getting below error when I try to add data to cache. It used to work earlier with no issues. I am using Ignite version 1.6. [ERROR][main][MarshallerContextImpl] Failed to write class name to file [id=-1398818952, clsName=com.target.ignite.model.sales.SalesModel,

Re: Data grid client errors out when datasource not defined

2016-09-21 Thread Anton Vinogradov
Jason, Thanks for tips, I found that CacheJdbcPojoStoreFactory required to have bean specified at inside client config to use this cache. Another way is to specify *dataSource *property instead. for example: Here's the

Re: Re: Increase Ignite instances can't increase the speed of compute

2016-09-21 Thread 胡永亮/Bob
hi, I found one point which cost too much time in one compute job. For example, one job cost 35s total, the code of writing result data to ignite cache cost 29s. My ignite cache which is used to save the result data is: Cache 'MapMatchingData':