Re: How to load cache when reading data from txt files

2016-03-30 Thread vkulichenko
Please refer to put-get example [1] to see how to use the cache API. [1] https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePutGetExample.java -Val -- View this message in context:

Re: How to script with visor cli?

2016-03-30 Thread Vasiliy Sisko
You could try another variant of quoting that works in Ubuntu terminal: ./ignitevisorcmd.sh -e=\"open -cpath=config/test-one.xml;cache\" Possible that article will useful for you: http://wiki.bash-hackers.org/syntax/quoting -- View this message in context:

Re: How to script with visor cli?

2016-03-30 Thread tracel
thanks Vasiliy for the hint, finally got this right, found quotes within quotes work, both of these seems to work fine: bin/ignitevisorcmd.sh -e="'open -cpath=config/test-one.xml;cache'" bin/ignitevisorcmd.sh -e='"open -cpath=config/test-one.xml;cache"' f.e.: # bin/ignitevisorcmd.sh

Re: Ignite Start exception

2016-03-30 Thread deleerhai
hi, Why not start the client node output log? The log output has a regular [id=0 ~ id=1023]. How to explain these logs? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-Start-exception-tp3766p3802.html Sent from the Apache Ignite Users mailing list

Re: How to load cache when reading data from txt files

2016-03-30 Thread vkulichenko
Hi, If you need write through, you should implement CacheStore interface [1]. But I'm not sure how you're going to work with files in this case. What if the entry that already exists is updated? [1] https://apacheignite.readme.io/docs/persistent-store -Val -- View this message in context:

Re: hibernate named query with ignite

2016-03-30 Thread vkulichenko
Ravi, Cache store is abstract and it's up to how it's implemented. Any Hibernate APIs can be used as well. See [1] for details. [1] https://apacheignite.readme.io/docs/persistent-store -Val -- View this message in context:

Re: Ignite Start exception

2016-03-30 Thread vkulichenko
Hi, I don't see any errors or exceptions. "Created local partition" is DEBUG message and it is expected if debug logging is enabled. Can you set logging level in your application to INFO and check if it works? -Val -- View this message in context:

Re: Ignite Schema Import Utility - Mismatch when loading data between Date and Timestamp

2016-03-30 Thread Alexey Kuznetsov
Jan, could you provide a simple test case with one table (sql script to create table in Oracle) and generated class. We will reproduce and try to resolve this issue. Also, please specify what version of Oracle do you use. Thanks. On Wed, Mar 30, 2016 at 9:40 PM, jan.swaelens

Re: Orchestration framework / Actor framework with Apache Ignite

2016-03-30 Thread lieven
Alexander, so if I understand well, you're running vert.x inside a Ignite node and use the vertx eventbus across the nodes for work distribution. Our use case is financial order processing , where the web front-end layers ( outside the Ignite cluster ) will invoke a REST Api ( vert.x inside

Re: Orchestration framework / Actor framework with Apache Ignite

2016-03-30 Thread alexGalushka
Lieven, We plan to have a cluster of 16 nodes and the dynamic node groups using Ignite predicate. Each node will have the API Gateway, but only will be active at a time (floating IP). API Gateway will manage incoming HTTP requests. Each node is identical and will have same set of microservices.

Ignite Schema Import Utility - Mismatch when loading data between Date and Timestamp

2016-03-30 Thread jan.swaelens
Hello, I am experimenting with the auto schema generator functionality and experience the following issue. I have a table with a declared 'DATE' column (Oracle). When loading the cache it actually gets a 'Timestamp' typed value from the recordset. Looking in the following method I see no logic

Re: Orchestration framework / Actor framework with Apache Ignite

2016-03-30 Thread lieven
Alexander, thanks for the swift feedback. What is your use-case ? Lieven On Wed, Mar 30, 2016 at 4:00 PM, alexGalushka [via Apache Ignite Users] < ml-node+s70518n3785...@n6.nabble.com> wrote: > Hi, > > I'm working on the POC for the orchestration framework of our product > using Vert.x/Ignite.

Re: Orchestration framework / Actor framework with Apache Ignite

2016-03-30 Thread alexGalushka
Hi, I'm working on the POC for the orchestration framework of our product using Vert.x/Ignite. The plan is to use Apache Ignite as a cluster manage for Vert.x --Alexander. -- View this message in context:

Orchestration framework / Actor framework with Apache Ignite

2016-03-30 Thread lieven
Dear community, looking for some experienced developer feedback : as my company is starting to use the GridGain/Apache Ignite technology, we want also to develop some orchestration service on top of this. Example : our order processing demands back-end data retrieval , cache updates and pushing

Re: Automatic Persistence in .NET

2016-03-30 Thread Murthy Kakarlamudi
Thanks Vladimir for the detailed response. I had a question about using jdbc config in .NET classes, but probably it will be self-explanatory as I go through the exercise. Will reach out if I run into any issues. Thanks. On Wed, Mar 30, 2016 at 9:41 AM, Vladimir Ozerov

Re: Automatic Persistence in .NET

2016-03-30 Thread Murthy Kakarlamudi
Vladimir, Pavel, Thanks for your responses. I will try generating classes using Java and see if I can recreate them in .NET. Have a question though. The schema import tool generates *jdbc*:sqlserver://[host]:[port][;databaseName=database]. Assuming jdbc config does not work in .NET classes

Re: Host Arrays in C++ API

2016-03-30 Thread arthi
Thanks Igor. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Host-Arrays-in-C-API-tp3707p3779.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Host Arrays in C++ API

2016-03-30 Thread Igor Sapego
Hi Arthi, I need more time. I have enough info for now. Best Regards, Igor On Wed, Mar 30, 2016 at 1:06 PM, arthi wrote: > Hi Igor, > > Were you able to get to something? Pls let me know if you need more info. > > Thanks, > Arthi > > > > -- > View this

Re: How to script with visor cli?

2016-03-30 Thread tracel
Thank Vasiliy, but I still got the same kind of error with it, have try both signle quote and double quote: # bin/ignitevisorcmd.sh -e='open -cpath=config/test-one.xml;cache' OpenJDK Server VM warning: ignoring option MaxPermSize=128M; support was removed in 8.0 ___

Re: How to setup alert recipients in visor cli?

2016-03-30 Thread tracel
Thanks Vasiliy, problem solved. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-setup-alert-recipients-in-visor-cli-tp3732p3775.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How to script with visor cli?

2016-03-30 Thread Vasiliy Sisko
Hello @tracel. Virtual machine incorrectly recognize command line arguments. It divide it to pair: -e=open -cpath=config/test-one.xml";"cache" Visor console execute open command and quit command as last command of script. To pass your command it should be properly escaped. Use strong quoting

Re: visor keep trigger alert when condition no longer satisfied?

2016-03-30 Thread tracel
the alert was registered by "alert -r -t=15 -cc=gt2" -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/visor-keep-trigger-alert-when-condition-no-longer-satisfied-tp3772p3773.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

visor keep trigger alert when condition no longer satisfied?

2016-03-30 Thread tracel
Hi forum, An alert register for "-cc=gt2", so that alert should be trigger when "cc" (total number of available CPUs in the grid" is "gt" (greater than) 2. However, I found alert keep trigger when "cc" become 1, here's the log showing a cluster of 3 nodes/CPUs, alert still triggerd after

Re: Host Arrays in C++ API

2016-03-30 Thread arthi
Hi Igor, Were you able to get to something? Pls let me know if you need more info. Thanks, Arthi -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Host-Arrays-in-C-API-tp3707p3771.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

hibernate named query with ignite

2016-03-30 Thread Ravi Puri
Can i fetch the data from database using NamedQuery feature of hibernate ? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/hibernate-named-query-with-ignite-tp3770.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: ignite not support expression: EXISTS?

2016-03-30 Thread Sergi Vladykin
Hi, It looks like a bug, we'll try to fix it asap. Here is Jira issue to track: https://issues.apache.org/jira/browse/IGNITE-2913 Sergi 2016-03-30 5:34 GMT+03:00 minisoft_rm : > dear experts, still no response for this question. So I guess ignite > currently doesn't

Re: Automatic Persistence in .NET

2016-03-30 Thread Pavel Tupitsyn
Hi Satya, It should be possible to set up automatic persistence for Ignite.NET using Java mechanisms described there: https://apacheignite.readme.io/docs/automatic-persistence Basically, you'll have to import schema, compile resulting classes and put them to classpath, and update Spring XML

Re: How to setup alert recipients in visor cli?

2016-03-30 Thread Vasiliy Sisko
Hello @tracel Alert command allow to check some condition and inform user when that condition is false. For read alert documentation input command: *help alert* Alert register some listener that print in log if alert condition failed. F.e. command enable listening of event when count of active

Re: Cache loading errors out

2016-03-30 Thread arthi
Yep, thanks for the help! Thanks, Arthi -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cache-loading-errors-out-tp3636p3764.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite Cache and Compute Performance

2016-03-30 Thread Vladimir Ozerov
Hi Andres, Scan query with partition number was created exactly to iterate over partitions. Please share your numbers for scan query and local iteration. For now I do not see any obvious reason why it could be much slower than iteration. Vladimir. On Wed, Mar 30, 2016 at 2:03 AM, abarbaro

Re: Failed to find mapping description [cache=PersonCache, typeId=class apache.ignite.schemas.PersonKey]. Please configure JdbcType to associate cache 'PersonCache' with JdbcPojoStore ERROR

2016-03-30 Thread Vasiliy Sisko
Hello. This is duplicate thread. See answer there http://apache-ignite-users.70518.x6.nabble.com/Failed-to-find-mapping-description-cache-PersonCache-typeId-class-apache-ignite-schemas-PersonKey-PlR-tp3725p3758.html -- View this message in context:

Re: Cache loading errors out

2016-03-30 Thread Denis Magda
Arthi, I found out that there was an issue with visor cmd that was fixed recently https://issues.apache.org/jira/browse/IGNITE-2726 The fix will be available in the next release. As per SQL performance, the offheap data is deserialized and copied to Java heap when you need to return it as a

Re: Automatic Persistence in .NET

2016-03-30 Thread Vladimir Ozerov
Hi, Ignite is able to work with persistent store with read-through and write-through semantics in both Java and .NET versions. You can find relevant docs for .NET here: https://apacheignite-net.readme.io/docs/persistent-store Automatic persistence is a feature built on top of persistent store and