Re: Is JDBC driver necessary for the storage used for Read-Through and Write-Through

2016-03-24 Thread ght230
Thank you very much! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Is-JDBC-driver-necessary-for-the-storage-used-for-Read-Through-and-Write-Through-tp3650p3656.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

CacheLoadOnlyStoreAdapter's use example for cache preloading

2016-03-24 Thread Roman Shtykh
CacheLoadOnlyStoreAdapter's use example was added and can be found in examples/src/main/java/org/apache/ignite/examples/datagrid/store/. It illustrates how one can pre-load a cache from text or file of any other format. -Roman

SqlQuery Error

2016-03-24 Thread 16616...@qq.com
hi experts, I can invoke SqlFieldsQuery or SqlQuery correct without args. But when I invoke SqlFieldsQuery or SqlQuery with args like: SqlFieldsQuery sql = new SqlFieldsQuery("select * from testtable1 where id='1'"); SqlQuery sql = new SqlQuery(Testtable1.class, "id=?"); I will get error mess

Re: SqlQuery Error

2016-03-24 Thread Yakov Zhdanov
It seems the type of your id field is integer, but parameter type is string. Can you check it? Please also see if this helps - https://groups.google.com/forum/#!topic/h2-database/fiUw3tqRb1o --Yakov 2016-03-24 11:33 GMT+03:00 16616...@qq.com <16616...@qq.com>: > hi experts, > > I can invoke Sql

Re: SqlQuery Error

2016-03-24 Thread 16616...@qq.com
Thanks for your reply. But my attributer id is String. The code is: /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF l

Re: SqlQuery Error

2016-03-24 Thread Yakov Zhdanov
Can you please share the reproducible example or junit we can run locally to reproduce? --Yakov 2016-03-24 11:48 GMT+03:00 16616...@qq.com <16616...@qq.com>: > Thanks for your reply. But my attributer id is String. > > The code is: > > /* > * Licensed to the Apache Software Foundation (ASF) und

Re: SqlQuery Error

2016-03-24 Thread 16616...@qq.com
You can download my src file here. Thanks! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/SqlQuery-Error-tp3658p3662.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Two Ignite Clusters formed after network disturbance

2016-03-24 Thread Denis Magda
Hi, Correct, the implementations of SegmentationResolver I was referring to are available as a part of GridGain. However you're free to implement your own version of SegmentationResolver and pass it to IgniteConfiguration.setSegmentationResolver(...) upon node startup. Ignite will detect your res

Re: How to solve this problem?

2016-03-24 Thread Denis Magda
Hi, Java doesn't support "classpath:/" protocol out of the box. This is Spring Framework feature. http://stackoverflow.com/questions/12006602/java-url-protocols-classpath My suggestion is to use plain well-know "file:///" protocol instead. As an example you can refer to ExampleNodeStartup class t

Re: How to solve this problem?

2016-03-24 Thread Denis Magda
Also please properly subscribe to the user list (this way we will not have to manually approve your emails). All you need to do is send an email to “ user-subscr...@ignite.apache.org” and follow simple instructions in the reply. -- View this message in context: http://apache-ignite-users.70518

Re: Cache loading errors out

2016-03-24 Thread Denis Magda
Hi Arthi, Try to use Visual VM Memory Profiler to see the objects that fill the heap [1]. Alternatively you can quickly build a heap histrogram ("jmap -histo ") that will show number of objects of a particular class that are allocated. There is a chance that your custom objects "leaked" somehow.

Re: Ignite server stop unexpectedly

2016-03-24 Thread Vladimir Ozerov
Hi, Looks like you faced split brain situation. Say, you have 3 server nodes - A, B and C. A-B see each other, B-C see each other, but A-C don't. If you shut down node B, then nodes A and C will form two independent clusters which we refer to as "split-brain". Are you sure that all your sever nod

Re: Re: about mr accelerator question.

2016-03-24 Thread Vladimir Ozerov
Hi, Possible speedup greatly depends on the nature of your task. Typically, the more MR tasks you have and the more intensively you work with actual data, the bigger improvement could be achieved. Please give more details on what kind of jobs do you run and probably I will be able to suggest somet

Re: Two Ignite Clusters formed after network disturbance

2016-03-24 Thread Isaeed Mohanna
Thank you very much for the information On Thu, Mar 24, 2016 at 1:07 PM, Denis Magda wrote: > Hi, > > Correct, the implementations of SegmentationResolver I was referring to are > available as a part of GridGain. > > However you're free to implement your own version of SegmentationResolver > and

Re: Is JDBC driver necessary for the storage used for Read-Through and Write-Through

2016-03-24 Thread vkulichenko
Yes, HBase can be also used as a persistence storage. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Is-JDBC-driver-necessary-for-the-storage-used-for-Read-Through-and-Write-Through-tp3650p3672.html Sent from the Apache Ignite Users mailing list archive at

Re: Two Ignite Clusters formed after network disturbance

2016-03-24 Thread vkulichenko
This is not completely correct. Ignite also lacks the implementation of GridSegmentationProcessor that actually decides whether a segment is valid or not. The implementation of the processor can be injected into Ignite as a part of a plugin. -Val -- View this message in context: http://apache-

Re: Scheduler - clustered singleton service.

2016-03-24 Thread vkulichenko
Hi, Can you please properly subscribe to the mailing list so that the community receives email notifications? Here is the instruction: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1 dingutak wrote > I would like to run a scheduler process that runs eve

Re: Ignite server stop unexpectedly

2016-03-24 Thread 张鹏鹏
Thank you for checking my problem. I have found that's my mistake.I connected the server use ssh. when I lost the connection,the shell auto closed the Ignite node. I add 'nohup' before the command,then it's fixed. 2016-03-23 11:49 GMT+08:00 张鹏鹏 : > I am just learning Ignite,so maybe this is a du

Re: Cache loading errors out

2016-03-24 Thread Denis Magda
Hi Arthi, Why do you expect that the data total size should be around 235 MB? How did you measure this? >From the histogram I see that there are many Integer[] arrays preallocated in the heap that already occupy more than 6 GB - 3092587 6651967760 [I Do you use Integer[] arrays in your cod