Re: deploy is not working by IgniteDataStreamer

2017-06-27 Thread nash1k
Oh great thanks! I'm working so now. I just thought that IgniteDataStreamer.deployClass can help me in this case. It's a little strange because if I want to handle the Call.class on the nodes but want to save another object in the cache and I have to implement the special binary mapper for both

Re: How to compile C++ code..

2017-06-27 Thread Rahul.S
Here my major considerations is High Data availability across all the nodes that are participating in the cluster and every thing must be in full sync. my idea was to increase the operations so i though of increasing the thread pool which i have increased to 100 but still by using the command "ps

ignite compute debugging

2017-06-27 Thread shawn.du
Hi,I see many NullPointerException in my ignite log. like this:java.lang.NullPointerException[15:41:05,542][SEVERE][pub-#5702%null%][GridJobWorker] Failed to execute job due to unexpected runtime exception [jobId=751a821cc51-a76e994f-a6fc-4483-9063-2a51edb5195e,

[CVE-2017-7686] Apache Ignite Information Disclosure

2017-06-27 Thread Denis Magda
Severity: Important Vendor: The Apache Software Foundation Versions Affected: * Apache Ignite 1.0.0-RC3 to 2.0 Impact: Apache Ignite Might Transfer Sensitive Information to 3rd Party Domain Description: Apache Ignite uses an update notifier component to update the users about new project

Re: Ignite cache received by the client becomes null

2017-06-27 Thread afedotov
Hi, Please properly subscribe to the mailing list so that the community can receive email notifications for your messages. To subscribe, send an empty email to user-subscr...@ignite.apache.org and follow simple instructions in the reply. Yes, static field initialization also provides interthread

Re: How to compile C++ code..

2017-06-27 Thread Igor Sapego
Can you also share your configuration file? By the way, using double as a key type seems to be a *really* bad idea. It should not affect performance, but may cause a lot of issues. Best Regards, Igor On Tue, Jun 27, 2017 at 4:46 PM, Rahul.S wrote: > this is the function

Re: deploy is not working by IgniteDataStreamer

2017-06-27 Thread Alexander Fedotov
Hi, Stream receiver is executed on server nodes, which don't have real ru.test.domain.Call definition only it's binary representation sent during peer class loading. You need to set streamer.keepBinary(true) and operate on a BinaryObject inside the stream receiver instead of operating on

Re: How to compile C++ code..

2017-06-27 Thread Rahul.S
this is the function that performs the insert and delete operations spontaneously and every second it will put a console message about the amount of operations in that second if run as stand alone(10.0.2.55 application node) with only one node up i get about 70,000 operations per second,

Re: Read-through cache performance

2017-06-27 Thread Pascal
Because I want the cache to not consume any memory. Is there a better way to achieve this? A) When I leave out setExpiryPolicyFactory(), it gets a little better: 63195 63488 66804 65116 64771 64045 64234 65057 63991 64061 64213 64374 B) When I then replace Long l = longCache.get(i);

Re: Remote Cache Data Loading

2017-06-27 Thread Alexander Fedotov
Hi, Kindly check the following documentation section https://apacheignite.readme.io/docs/data-loading Kind regards, Alex. On Tue, Jun 27, 2017 at 3:48 PM, sanaraya wrote: > Hi , > > I wanted to know , is there any API from Ignite to load Remote cache data > faster or

Re: Scanquery and Peer classloading

2017-06-27 Thread afedotov
Hi Helge, The problem is that the filter passed to the ScanQuery is executed on the server nodes as is and since these nodes have DynaFormModel class only in binary form they are not able to operate on it directly from the code. Hence you need to pass a filter which will operate on BinaryObjects

Re: How to compile C++ code..

2017-06-27 Thread Rahul.S
Sorry i didn't got "reproducer",... what is it specifically.. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-compile-C-code-tp13989p14111.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Read-through cache performance

2017-06-27 Thread Yakov Zhdanov
Any reason why you left expiry policy? --Yakov

Re: How to compile C++ code..

2017-06-27 Thread Igor Sapego
It should definitely work faster then. Can you share reproducer so we can find out what is the issue? Best Regards, Igor On Tue, Jun 27, 2017 at 3:19 PM, Rahul.S wrote: > Here i am not using the SQL quires, I am just doing the cache put/get > operations.. > though its in

Remote Cache Data Loading

2017-06-27 Thread sanaraya
Hi , I wanted to know , is there any API from Ignite to load Remote cache data faster or do we need to create multiple thread to achieve this . Thanks -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Remote-Cache-Data-Loading-tp14108.html Sent from the

ignitevisor (2.0) shows zero objects in off heap

2017-06-27 Thread neerajbhatt
We are using ignite 2.0 and ignite visor is showing all objects in heap. As per ignite documentation here all objects be default are in off heap odes for: ITEMCACHE(@c2)

Re: Read-through cache performance

2017-06-27 Thread Pascal
Hi Yakov, I wanted to compare read-through to normal operation. For a non-read-through cache I get 600.000+ reads/second. Below is the code with an extra loop and the results: IgniteConfiguration cfg = new IgniteConfiguration(); Ignite ignite = Ignition.start(cfg); for(int run=0; run<60; run++)

Re: How to compile C++ code..

2017-06-27 Thread Rahul.S
Here i am not using the SQL quires, I am just doing the cache put/get operations.. though its in memory i expect it to be fast then the RDBMS what we are actually using till now. -- View this message in context:

Re: How to compile C++ code..

2017-06-27 Thread Igor Sapego
Well, if you perform DML operations with single row by query, then the reason may be a network round trip - for every operation you need to send packet and receive response, which may cause network delay. Best Regards, Igor On Tue, Jun 27, 2017 at 3:10 PM, Rahul.S wrote: >

Re: How to compile C++ code..

2017-06-27 Thread Rahul.S
Ignite 2.0 -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-compile-C-code-tp13989p14103.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How to compile C++ code..

2017-06-27 Thread Igor Sapego
Which Ignite version do you use and what kind of operations do you perform? Best Regards, Igor On Tue, Jun 27, 2017 at 10:10 AM, Rahul.S wrote: > Thank you! > It worked... > > but still had some queries, i am inserting the data of type > "double"(including both key and

Re: Read-through cache performance

2017-06-27 Thread Yakov Zhdanov
Pascal, Why do you have expiry policy in one run and do not have it in another? Please remove it and rerun your test. Also, can you please wrap your loop in another loop and take 60 measurements in a row. --Yakov

Re: Fetch column names in sql query results

2017-06-27 Thread Megha Mittal
Hi, I am using : QueryCursor> cursor = itemCache.query(new SqlFieldsQuery(query)); Please let me know is there any way of fetching column names in ignite-2.0.0 . -- View this message in context:

It seems WebSession's removeAttribute does not support HttpSessionBindingListener

2017-06-27 Thread yucigou
When a session expires or is invalidated, or an attribute gets removed, HttpSessionBindingListener's valueUnbound callback function should be fired. However, it seems that WebSession's removeAttribute does not support HttpSessionBindingListener. class WebSession implements HttpSession,

Re: Fetch column names in sql query results

2017-06-27 Thread Yakov Zhdanov
Megha, this will be available in 2.1. You can see the ticket for details - https://issues.apache.org/jira/browse/IGNITE-5252 --Yakov

Re: Performance WordCount to Hadoop

2017-06-27 Thread Mimmo Celano
Hi, Thanks for your reply. We are testing ignite performances on hadoop without hadoop-accelerator for eventually use it in our project. We have a file of 700mb wich is spitted in 6 map tasks, I think that setup time it's not expensive, it's 6-7 seconds. The cache.put which you have mentioned is

Re: Fetch column names in sql query results

2017-06-27 Thread Taras Ledkov
Hi, Lets clarify. Do you use IgniteCache#query(SqlFieldsQuery) that returns FieldsQueryCursor and FieldsQueryCursor#getColumnsCount() returns zero? On 27.06.2017 9:03, Megha Mittal wrote: Hi, I am using Ignite-2.0.0 and facing problem while using sql query. I need to fetch column names

Re: Apache Ignite client gets disconnected on Amazon EC2 Scale In

2017-06-27 Thread robbie
Hi. So is there anything wrong with my config? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Apache-Ignite-client-gets-disconnected-on-Amazon-EC2-Scale-In-tp13874p14095.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite File System Support in R or Python

2017-06-27 Thread Ishan Jain
Thanks, but anyone with details about R and python? On Tue, Jun 27, 2017 at 12:08 PM, Alexey Kuznetsov wrote: > Hi, > > I have no idea about R an Python. > > But as for Scala - Ignite is written on Java, and could be used from Scala > without any problems > > On Tue, Jun

Re: Scanquery and Peer classloading

2017-06-27 Thread Helge Waastad
Hi, I might do this the wrong way but storing and fetching a third party object from cache using peer classloading works fine, but running scanquery: try (QueryCursor cursor = cache.query(new ScanQuery((k, p) -> k.startsWith(id { } returns: class

Re: Performance WordCount to Hadoop

2017-06-27 Thread Michael Cherkasov
Hi Mimmo, How many map tasks do you have? if you have a lot of map tasks with small amount of work you will spend almost all cpu time in setup method. Also if you have small amount of data, one network operation( cache.put("interno", 666); ) can be very expensive operation relative to the whole

Re: How to compile C++ code..

2017-06-27 Thread Rahul.S
Thank you! It worked... but still had some queries, i am inserting the data of type "double"(including both key and value), i am inserting and deleting the contents spontaneously and at every second i am printing the total number of operations that is taking place. what i can see at that

Re: Ignite File System Support in R or Python

2017-06-27 Thread Alexey Kuznetsov
Hi, I have no idea about R an Python. But as for Scala - Ignite is written on Java, and could be used from Scala without any problems On Tue, Jun 27, 2017 at 11:26 AM, ishan-jain wrote: > Is there a support for ignite file system running over hadoop file system > in >

Fetch column names in sql query results

2017-06-27 Thread Megha Mittal
Hi, I am using Ignite-2.0.0 and facing problem while using sql query. I need to fetch column names while querying but only a list is returned using SqlFieldsQuery with no column names. Also, I cannot use SqlQuery as I need to add some aggregate columns, case clauses etc in select clause as well .