Re: ClusterTopologyServerNotFoundException

2018-04-05 Thread Pavel Vinokurov
Hi Venkat, Could you setup *constistentId* (IgniteConfiguration#setConsistentId) for 3 server nodes and add these ids to the baseline topology using ignite.cluster().setBaselineTopology(nodes); Please setup the baseline and activate the cluster as described in https://apacheignite.readme.io/docs

Ignite Single Node vs Cluster of Nodes

2018-04-05 Thread kotamrajuyashasvi
Hi I would like to know the added advantages of using Cluster of Nodes instead of a single node(single node is sufficient for my data volume) in my use case . All the operations are sql queries. And if I use a cluster of nodes, the result set of a query will always be present on a single node(due

Using Apache Ignite with Zookeeper

2018-04-05 Thread monalsinha
I am using Apche Ignite with zookeeper based discovery using curator framework. Do I need to open any port on my ignite node like TCP based discovery, in order for this to work? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Using Apache Ignite with Zookeeper

2018-04-05 Thread Roman Shtykh
You can specify the port your zk is running on as shown in [1], and it should be opened https://apacheignite.readme.io/docs/cluster-config#zookeeper-based-discovery Roman On Thursday, April 5, 2018, 4:48:05 p.m. GMT+9, monalsinha wrote: I am using Apche Ignite with zookeeper based d

Re: Running heavy queries on Ignite cluster on backing store directly without impacting the cluster

2018-04-05 Thread Andrey Mashenkov
Hi, >So are you saying, query execution will not have any impact on the cluster >activities like GET/PUTs in general ?? Why? Queries and get\put share same resources. So, they will affect each other. >I was thinking, if we can run these queries directly on backing store, it >may not have any impa

Re: Upgrade from 2.1.0 to 2.4.0 resulting in error within transaction block

2018-04-05 Thread Vladimir Ozerov
I've just fixed possible root cause in master [1]. However, as exact use case details is not known, may be it was something else. Is it possible to provide more info on the use case: cache configuratioh, model classes? [1] https://issues.apache.org/jira/browse/IGNITE-8147 On Mon, Apr 2, 2018 at 1

Re: Ignite Single Node vs Cluster of Nodes

2018-04-05 Thread Denis Mekhanikov
Hi! If you add more nodes to your cluster, you'll get performance boost, because queries will be executed in a distributed manner. But this boost will be noticeable only starting from some particular data volume, because distributed query execution is associated with some overhead. You will also

Re: Using Apache Ignite with Zookeeper

2018-04-05 Thread Denis Mekhanikov
You should open the port, specified as a *localPort* in *TcpDiscoverySpi * configuration. The same for communication SPI and other protocols, that are used in your cluster, like JDBC, REST, etc. The only difference in Zookeeper-based discovery is that Zookeeper is used to find other nodes on the n

Ignite Sql Query Execution time is too long

2018-04-05 Thread siva
Hi, We have 2 nodes(client&server) and using ignite native persistence. In cache we have around 3lakh records. We are querying from Client node and using cursor.getAll() to get the resultset. If we execute a query which needs to returns 10k records (ex:select * from Entity Where EntityType='Igni

Lucene CorruptIndexException (checksum failed) on GridLuceneIndex - suggested patch

2018-04-05 Thread Manu
Hi, *GridLuceneOutputStream* has a bug on */copyBytes/* method and *GridLuceneInputStream* on */readBytes/* method for direct calls from GridLuceneOutputStream. On both methods internal GridLuceneOutputStream's CRC is not updated, so we get /org.apache.lucene.index.CorruptIndexException: checksu

Cache access based on the user previleges

2018-04-05 Thread vbm
Hi, Is there any configuration with which we can restrict access to a cache based on user privileges ? In a production environment, how does access restriction to different cache are enforced ? Regards, Vishwas -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Lucene CorruptIndexException (checksum failed) on GridLuceneIndex - suggested patch

2018-04-05 Thread Ilya Kasnacheev
Hello Manu! Can you also provide a test that will show that the problem exists, and that the fix does something helpful? Preferably in the form of code, but "steps to reproduce" may work too. Other than that, I recommend you creating a pull request for https://github.com/apache/ignite/ and a JIRA

Re: Ignite Sql Query Execution time is too long

2018-04-05 Thread begineer
Have you tried adding indexes to frequently searched fields ? Indexing can make searching the cache quite faster -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Slow invoke call

2018-04-05 Thread javastuff....@gmail.com
Thanks Pavel for reply. /"When you store entries into the off-heap, any update operation requires copying value from the off-heap to the heap." / I am updating using remote entry processor, does that also need to copy value to calling heap? If yes then no benefit using entry processor here, I can

Failed to lock keys (all partition nodes left the grid)

2018-04-05 Thread Olexandr K
Hi team, I'm getting strange exception when trying to save Key/Value pair. When I tested locally everything was fine. Now I deployed application to servers cluster and stuck with this error. What does it mean? My both Ignite server nodes are UP. Here is configuration for this cache:

Re: Failed to lock keys (all partition nodes left the grid)

2018-04-05 Thread Olexandr K
Here is client code which fails: public void storeRefreshToken(UUID uid, UUID refreshTokenID) { IgniteCache> cache = getRefreshTokenCache(); try (Transaction tx = startTransaction()) { LinkedList ids = cache.get(uid); //getting error here On Thu, Apr 5, 2018 at 1

Re: Ignite Sql Query Execution time is too long

2018-04-05 Thread Denis Mekhanikov
Siva, The execution plan shows, that no indexes are used. If you create an index on *EntityType* field, it should make the performance better. Also if you make all data be stored in memory, then performance of select queries will be better. Otherwise you will be limited by the performance of your

Re: Cache access based on the user previleges

2018-04-05 Thread Denis Mekhanikov
Vishwas, There is no such possibility in Ignite, as far as I know. You will have to implement a security layer on top of Ignite yourself, if you want to have such functionality. Denis чт, 5 апр. 2018 г. в 20:19, vbm : > Hi, > > Is there any configuration with which we can restrict access to a c

TcpDiscoverSpi error connection refused

2018-04-05 Thread Neeraj Vaidya
Hi, I have 2 virtualbox guest OS'es (CentOS7 64-bit) , each having firewalld stopped and disabled. The nodes are axlrate-node-1 and axlrate-node-2. I have updated default-config.xml in both servers My default-config.xml looks like below : -d

Transaction progress, affinity, locks

2018-04-05 Thread Ariel Tubaltsev
I have 2 different caches C1, C2 on 3 nodes N1, N2, N3. I want to configure it in the most possibly reliable way to avoid any inconsistency and data loss, so both caches are REPLICATED, TRANSACTIONAL, FULL_SYNC. Most of my operations are transactions: PESSIMISTIC, SERIALIZABLE that touch both cac

Re: Kubernetes - Access Ignite Cluster Externally

2018-04-05 Thread Roman Shtykh
I have been playing with this for a while, and managed to get an external client node get into the topology, but it failed to communicate to the cluster. Some points:1. Used TcpDiscoveryKubernetesIpFinder for sever nodes 2. Exposed pods via NodePort on custom ports (higher than 3); more flexi

Re: Cache access based on the user previleges

2018-04-05 Thread vbm
Hi Denis, Thanks for the reply. Is this not needed. How does the isolation between different applications happen ? One thing that comes to my mind is, we can create different data regions and put the cache needed for specific application in these data regions. Is this the right approach ? Rega

Ignite with hive as 3rdparty persistence

2018-04-05 Thread Venkata Bhagavatula
Hi, We want to use hive as a 3rd party persistence for ignite. To achieve this can you let us know how to take it forward. From the documentation, i understand that we need to implement the CacheStore interface for achieving this. How can we make it generic enough irrespective of any schema? We c

Ignite Service Unmarshal or Deserialize Error

2018-04-05 Thread yonggu.lee
After deploying an ignite service with my service implementation jar, an annoying unmartial or deserialize error occurs. My service interface is as follows. ResultTitle getTitle(String url, TitleCandidates titleCandidates); If i change the class name of a service parameter (TitleCandidates ->