Re: Partition eviction failed, this can cause grid hang. (Caused by: java.lang.IllegalStateException: Failed to get page IO instance (page content is corrupted))

2018-07-05 Thread siva
nohup.out Hi akurbanov, I have attached the logs ,can u go through ? we were started on single machine on multiple ignite nodes and configuration is as follows http://www.springframework.org/schema/beans;

Re: Aviod distributes query in case of collocated data

2018-07-05 Thread Evgenii Zhuravlev
SqlFieldsQuery.setLocal: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/query/SqlFieldsQuery.html#setLocal-boolean- 2018-07-06 4:51 GMT+03:00 Prasad Bhalerao : > Hi, > Is there any way to make sure that SQL executed on cache gets executed > only on the node where data

Aviod distributes query in case of collocated data

2018-07-05 Thread Prasad Bhalerao
Hi, Is there any way to make sure that SQL executed on cache gets executed only on the node where data is present? One way could be submit the the task on affinity key to get the data. But is doesn't seem good option. My case is I am already submitting a ignite runnable task on my affinity id.

Re: And again... Failed to get page IO instance (page content is corrupted)

2018-07-05 Thread Olexandr K
Hi guys, are you still planning to release 2.6.0 as patch release for 2.5.0? BR, Oleksandr On Fri, Jun 29, 2018 at 11:43 AM, Andrey Mashenkov < andrey.mashen...@gmail.com> wrote: > Hi Oleg, > > Yes, page corruption issues shouldn't happened when persistence is > disabled. > Please, let us know

Re: Uneven partitioning and data not on off-heap memory.

2018-07-05 Thread smovva
Thanks Denis. That makes sense. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Metrics for IgniteDataStreamer

2018-07-05 Thread vbm
HI Evangii, Thanks for the reply. I have some more question regarding ignite data streamer. Below is our scenario: We have many Kafka topics and now we want to use ignite data streamer to pull data to ignite cache and data is such that each kafka topic correspond to a cache in ignite. >From

Re: Cache configuration in case of Client mode

2018-07-05 Thread Вячеслав Коптилин
Oh, I see now that we are talking about Factory :) Yes, it looks like a usability issue or even a bug. The implementation should inject dependencies into that factory in the same way it does for CacheStoreFactory. As a workaround, you can try the following: private CacheConfiguration

Re: Is it possible to configure Apache Ignite QueryCursor to be autocloseable in the xml configuration file?

2018-07-05 Thread tizh
Yes, we decided to look into the go client. Thank you very much for your help. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache configuration in case of Client mode

2018-07-05 Thread Prasad Bhalerao
> I tried to debug the ignite code, GridResourceProcessor.inject is not > being executed for injecting resources into CacheStoreSessionListener. It > is being called for Cachestores. > > Can you please advise? > > Thanks, > Prasad > > On Thu, Jul 5, 2018 at 8:14 PM Prasad Bhalerao < >

Re: Performance acting as a redis server

2018-07-05 Thread Ilya Kasnacheev
Hello! I have no idea why your node has lost zookeeper connection, but my bet will be that you still failed to close some of connections, and they have clogged each and every available socket on your machine (which are still only 63k). Please make extra sure that when you open a socket, you

Re: Classloading error during startup with OSGi in 2.5

2018-07-05 Thread ilya.kasnacheev
Hello! Can you create a small reproducer project for this problem, post it to e.g. Github? I would take a look definitely if you do. Otherwise it's hard to say, I don't know anything about your environment. Regards, -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache configuration in case of Client mode

2018-07-05 Thread Prasad Bhalerao
I tried to debug the ignite code, GridResourceProcessor.inject is not being executed for injecting resources into CacheStoreSessionListenerFactories. It is being called for CachestoreFactories. Can you please advise? Thanks, Prasad On Thu, Jul 5, 2018 at 8:14 PM Prasad Bhalerao wrote: > I had

Re: Cache configuration in case of Client mode

2018-07-05 Thread Prasad Bhalerao
I had used SpringApplicationContextResource annotation. But it did not inject the application context in it. So I decided to use spring managed bean and it worked but now it is creating the problem which is described in this mail chain. On Thu, Jul 5, 2018 at 8:11 PM Prasad Bhalerao wrote: > I

Re: Cache configuration in case of Client mode

2018-07-05 Thread Prasad Bhalerao
I had used SpringApplicationContextResource annotation. But it did not inject the application context in it. So I decided to use spring managed bean and it worked. Thanks, Prasad On Thu, Jul 5, 2018 at 7:49 PM Вячеслав Коптилин wrote: > It seems that you need to use @ > >

Re: Cache configuration in case of Client mode

2018-07-05 Thread Вячеслав Коптилин
It seems that you need to use @ SpringApplicationContextResource instead of @Autowired. Could you please check that? Thanks. чт, 5 июл. 2018 г. в 17:01, Prasad Bhalerao : > > > import java.io.Serializable; > import javax.cache.configuration.Factory; > import javax.sql.DataSource; > import

Re: Cache configuration in case of Client mode

2018-07-05 Thread Prasad Bhalerao
import java.io.Serializable; import javax.cache.configuration.Factory; import javax.sql.DataSource; import org.apache.ignite.IgniteException; import org.apache.ignite.cache.store.CacheStoreSessionListener; import org.apache.ignite.cache.store.jdbc.CacheJdbcStoreSessionListener; import

Re: can't see caches via DBeaver

2018-07-05 Thread Evgenii Zhuravlev
Hi, You should configure which fields should be used for SQL at first, please refer this documentation: https://apacheignite-sql.readme.io/docs/schema-and-indexes Evgenii 2018-07-05 16:44 GMT+03:00 Som Som <2av10...@gmail.com>: > Hello. > > > > I installed DBeaver in order to browse

Re: Cache configuration in case of Client mode

2018-07-05 Thread slava.koptilin
Well, the exception is thrown by your class: org.apache.ignite.IgniteException: Spring application context resource is not injected. at *com.qualys.agms.grid.cache.loader.factory.CacheStoreSessionListenerFactory*.create(CacheStoreSessionListenerFactory.java:30) at

can't see caches via DBeaver

2018-07-05 Thread Som Som
Hello. I installed DBeaver in order to browse caches, configured the driver accordingly the instruction. As a result DBeaver successfully connected to server node, but there was no "City" cache in tables folder. Cache was created with the code attached below. Server node

Re: Cache configuration in case of Client mode

2018-07-05 Thread Prasad Bhalerao
Hi, I am using Ignite 2.4 version. Please find attached the log files. Log file agms-web is a client node log and agms-core is server node log. Ignite configuration on client node is as follows. When I try to get the cache contents on client node after data push operation, my request hangs on

Re: Cache configuration in case of Client mode

2018-07-05 Thread slava.koptilin
Hello Prasad, I cannot reproduce the behavior that you described. Please share the code that the community can use in order to reproduce the issue. It would be nice to have log files from both nodes (client and server). One more thing. Could you please share the version of Apache Ignite that you

Re: Cache configuration in case of Client mode

2018-07-05 Thread akurbanov
Hi, Try advice to call ignite.getOrCreateCache("cacheName");, got a feeling that you will get an empty cache there which would mean that this cache is not created yet or is failing to start. In this case please attach startup logs for server/client nodes setup. Regards. -- Sent from:

Re: Cache configuration in case of Client mode

2018-07-05 Thread Prasad Bhalerao
Hi Maxim, My mistake, I did not phrase the problem correctly. I am getting NullPointerException in my code because ignite.cache(getCacheName()) is returning null on client node. As I said I have not provided any cache configurations on client node because I thought it is unnecessary. So the

Re: Getting an exception when listing partitions of IgniteDataFrame

2018-07-05 Thread akurbanov
Hi, Check out this answer and try to apply given advice, seems that it helped: https://groups.google.com/forum/#!topic/bigdl-user-group/cZEBADHhhaE >> /at org.apache.spark.rdd.RDD.partitions(RDD.scala:250)/ That's Spark RDD, not Ignite. Regards, Anton -- Sent from:

Re: Cache configuration in case of Client mode

2018-07-05 Thread Maxim Malygin
Please show stack trace of your NPE. Regards, Maxim чт, 5 июл. 2018 г. в 14:48, Prasad Bhalerao : > Don't want to use that method. I know that cache is already present on > server node as it is loaded by loaders and this ignite.cache method is > present in my common framework. > > Thanks, >

Re: Cache configuration in case of Client mode

2018-07-05 Thread Prasad Bhalerao
Don't want to use that method. I know that cache is already present on server node as it is loaded by loaders and this ignite.cache method is present in my common framework. Thanks, Prasad On Thu, Jul 5, 2018, 5:14 PM Sambhaji Sawant wrote: > try using > ignite.getOrCreateCache("cacheName");

Re: Cache configuration in case of Client mode

2018-07-05 Thread Sambhaji Sawant
try using ignite.getOrCreateCache("cacheName"); On Thu, Jul 5, 2018 at 3:49 PM, Prasad Bhalerao < prasadbhalerao1...@gmail.com> wrote: > Hi, > > I have provided the cache configurations on ignite node which is started > in server mode,but other ignite node which started in client mode does not >

Cache configuration in case of Client mode

2018-07-05 Thread Prasad Bhalerao
Hi, I have provided the cache configurations on ignite node which is started in server mode,but other ignite node which started in client mode does not have any cache configurations. Now case is cache is present on ignite server node. But when I access the same cache from client node I get

Re: Performance acting as a redis server

2018-07-05 Thread Ilya Kasnacheev
Hello! The config looks correct. I'll check why ConnectorConfiguration doesn't have proper string representation, hence: https://issues.apache.org/jira/browse/IGNITE-8935 Regards, -- Ilya Kasnacheev 2018-07-05 9:21 GMT+03:00 胡海麟 : > Hi, > > I added the config above. But I don't know whether

Re: Metrics for IgniteDataStreamer

2018-07-05 Thread Evgenii Zhuravlev
Well, then you can just check the cache size after the certain period for each method and compare it. I'm not sure that the metric for the thing you want will make any sense - if you will have any pauses in ingestion, this metric won't be informative at all. At the same time, absolutely the same

Re: Metrics for IgniteDataStreamer

2018-07-05 Thread vbm
Hi Evgenii, To compare the 2 ingestion methods (DataStreamer and KafkaConnect), we wanted to know what are the key parameters that needs to be monitored. For example: How fast the data is being put in cache. Regards, Vishwas -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Metrics for IgniteDataStreamer

2018-07-05 Thread Evgenii Zhuravlev
Hi, What kind of metrics will help you? Why just checking of the cache size won't be enough? Regards, Evgenii 2018-07-03 19:53 GMT+03:00 vbm : > Hi > > As part of our POC we wanted to compare the ingestion in to ignite using > Kafka Connect and Ignite Data Streamer. > > For comparison, what

Re: Why pageEvictionMode isn't work

2018-07-05 Thread Michaelikus
All nodes are runing same config. - Russian telegram Ignite chat at http://t.me/Apache_Ignite_chat -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Classloading error during startup with OSGi in 2.5

2018-07-05 Thread aro
Hi We have upgraded from Ignite 2.3 to 2.5 and now we are getting a class loading error during start up. See stacktrace below. It fails to find class DiscoveryDataClusterState. We are setting the classloader in config (ContainerSweepClassLoader), just as we did with 2.3. final

Re: Performance acting as a redis server

2018-07-05 Thread 胡海麟
Hi, I added the config above. But I don't know whether it is applied. connectorCfg=org.apache.ignite.configuration.ConnectorConfiguration@7d8704ef There is such a piece of relevant info but no detail. Is there any way to confirm the details? Thanks. On Wed, Jul 4, 2018 at 7:25 PM, Ilya