Re: Increase transaction throughput with nodes.

2016-06-08 Thread amitpa
Should we change it to a value higher than 500 , if cpu limit is not present? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Increase-transaction-throughput-with-nodes-tp5411p5513.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Unregistering from mailing list

2016-06-08 Thread Andrea Taini
Hio all! Please help me unregistering from mailing list. I tried with email at user-unsubscr...@ignite.apache.org, then unsubscr...@ignite.apache.org, then with unsubscribe in subject and nothing. ☹ Thank you! Andre

Re: ignite cache get performance issue when Key, Value not exist

2016-06-08 Thread kevin.zheng
Hi Denis, the case may be avoid by checking if key exists. and also I can load all the data into cache and disable the read through settings. thanks for your suggestion. Cheers, Kevin -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/ignite-cache-get-performance-

Re: Increase transaction throughput with nodes.

2016-06-08 Thread Denis Magda
Give it a try to see the difference. — Denis > On Jun 8, 2016, at 9:50 AM, amitpa wrote: > > Should we change it to a value higher than 500 , if cpu limit is not present? > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Increase-transaction-throug

Fwd: ignite cache get performance issue when Key, Value not exist

2016-06-08 Thread Denis Magda
Igniters, This is not the first time I hear about from the community side about the performance issue Kevin is talking below. In short if a key is not located in a cache then we will go to an underlying storage. This process will be repeated all the time for the same key and this leads to perf

Re: Persistent storage with Ignite C++

2016-06-08 Thread Graham Bull
Hi Denis/Igor, I can confirm that I've managed to get this working :) I've got a C++ program running just fine. It uses Ignite C++ with a CacheStoreAdapter-derived Java class that implements persistent storage (MongoDB in this case, but easily replaceable). Thanks for your help, Graham On 6

Re: Persistent storage with Ignite C++

2016-06-08 Thread Denis Magda
Graham, sounds good. Thanks for letting us know. Enjoy ;) — Denis > On Jun 8, 2016, at 12:35 PM, Graham Bull wrote: > > Hi Denis/Igor, > > I can confirm that I've managed to get this working :) > > I've got a C++ program running just fine. It uses Ignite C++ with a > CacheStoreAdapter-derive

Re: ignite cache get performance issue when Key, Value not exist

2016-06-08 Thread Kristian Rosenvold
I have a related question which I have been trying to find the answer to in the docs: Given a cache REPLICATED cache with CacheRebalanceMode.SYNC, is there any meaningful use case for a readthrough handler ? (Is there any situation where the readthrough database can actually produce a result that i

Re: Error in ODBC connection

2016-06-08 Thread Igor Sapego
Hi Agneeswaran, You should install Apache Ignite ODBC driver using provided ignite-odbc-install.ini file as described at [1]. After that you are going to be able to connect to the driver using "{Apache Ignite}" as a value for the "DRIVER" attribute. Or simply speaking, you should modify your conne

Re: Error in ODBC connection

2016-06-08 Thread Agneeswaran
Hi Igor, Still we are facing the same issue, please find the following output, [ignite@dayrhegapd022 cpp]$ odbcinst -i -d -f $IGNITE_HOME/platforms/cpp/odbc/install/ignite-odbc-install.ini odbcinst: Driver installed. Usage count increased to 5. Target directory is /etc [ignite@dayrhegapd022 c

Re: How to retrieve data from Collocated Cache with Simple Key

2016-06-08 Thread Kamal C
In my app, I'm trying to replace the existing ehcache implementation to Ignite caches. Using Affinity Collocation, I've collocated the data in the caches which are accessed together. In many places, I've only SIMPLE key to retrieve the data from the caches. (e.g. Retrieval from Person cache with o

Re: Error in ODBC connection

2016-06-08 Thread Igor Sapego
Agneeswaran, Can you provide your new connect string please? Best Regards, Igor On Wed, Jun 8, 2016 at 2:07 PM, Agneeswaran < agneeswaran.ponnuraman...@nielsen.com> wrote: > Hi Igor, > > Still we are facing the same issue, please find the following output, > > [ignite@dayrhegapd022 cpp]$ odbcin

Re: Error in ODBC connection

2016-06-08 Thread Igor Sapego
Also, is it possible for you to build and run our ODBC example, located at platforms\cpp\examples\odbc-example? You can find instructions on how to build it in README.txt and DEVNOTES.txt files. Best Regards, Igor On Wed, Jun 8, 2016 at 2:59 PM, Igor Sapego wrote: > Agneeswaran, > > Can you pro

Re: How to retrieve data from Collocated Cache with Simple Key

2016-06-08 Thread Vladislav Pyatkov
Hello Kamal, I will repeat, but you can use the ScanQuery. org.apache.ignite.cache.query.ScanQuery#setPartition You have only to find a local partition: Affinity affinity = ignite.affinity(cacheName); List partitions = new ArrayList<>(affinity.partitions()); for (int i = 0; i < affinity.part

Re: Ignite-hibernate latest version is not available in maven central

2016-06-08 Thread dnavre
Thank a lot Anton, That was helpful. Though I've already compiled ignite-hibernate and have it installed in our local nexus. I still don't get why those libraries being LGPL is an issue when publishing a jar to maven central. Your library(jar) doesn't contain source code from the lib that you have

Re: How to retrieve data from Collocated Cache with Simple Key

2016-06-08 Thread Denis Magda
Hi, Please see below > On Jun 8, 2016, at 2:36 PM, Kamal C wrote: > > In `put` operation, we have full object to insert so construction of > PersonKey / > AffinityKey is not a problem. But, during `get` operation, we may have only > the simple key to retrieve data. > Introduce a special cac

Re: Error in ODBC connection

2016-06-08 Thread Agneeswaran
Hi Igor, Please find the connection string. std::string connectStr = "DRIVER=={Apache Ignite};SERVER=dayrhegapd023.enterprisenet.org;PORT=21050;CACHE=MARKET_POD_ACV_CACHE;"; We will try with the ODBC examples. Thanks, Agneewaran -- View this message in context: http://apache-ignite-users.70

Re: Error in ODBC connection

2016-06-08 Thread Igor Sapego
Agneewaran, Do you really have two '=' after 'DRIVER' keyword in your connection string or is it misprint? Best Regards, Igor On Wed, Jun 8, 2016 at 3:38 PM, Agneeswaran < agneeswaran.ponnuraman...@nielsen.com> wrote: > Hi Igor, > > Please find the connection string. > > std::string connectStr

Re: Error in ODBC connection

2016-06-08 Thread Agneeswaran
Hi Igor, Sorry, it is misprint. We have done a rebuild the whole binary on the same node. Seems the ODBC connection gets established but we are getting message keep on till we do ctrl+x. We have waited more than 5 minutes. Is this issue with the Cache configuration?.Please help us. [09:41:16,19

Re: Error in ODBC connection

2016-06-08 Thread Igor Sapego
Agneeswaran, What are your code trying to do? Can you share a configuration? Code sample could help too. Also, check if there are zombie or background processes of your binary and kill them. Best Regards, Igor On Wed, Jun 8, 2016 at 4:49 PM, Agneeswaran < agneeswaran.ponnuraman...@nielsen.com>

Re: Ignite for Spark on YARN Deployment

2016-06-08 Thread Hongmei Zong
Hi Denis, I tried testing Ignite as the following steps: Background information: 1. Our Spark is running on YARN deployment; There are three Master hosts and many Worker nodes and three client nodes in the Spark clusters. 2. I installed Ignite on one of the client node and can launch Ignite-she

Re: Persistence using Cassandra

2016-06-08 Thread ChickyDutt
Thank you Alexey. Do you have an example where the CacheConfiguration store is configured using Java ? Regards, Ashish Sharma. On Mon, May 23, 2016 at 3:28 PM, Alexey Kuznetsov [via Apache Ignite Users] wrote: > If you need tests - you need to download sources ( > https://ignite.apache.org/dow

Re: Persistence using Cassandra

2016-06-08 Thread Alexey Kuznetsov
Hi, Ashish Sharma. Take a look at docs: https://apacheignite.readme.io/docs/overview As far as I see in docs https://apacheignite.readme.io/v1.6/docs/base-concepts there I found such note; Current implementation of org.apache.ignite.cache.store.cassandra.utils.datasource.DataSourc

Re: Ignite for Spark on YARN Deployment

2016-06-08 Thread Nikolai Tikhonov
Hi Hongmei Zong! Client node which started from IgniteContext can't to find server nodes. By default ignite integration with YARN uses TcpDiscoveryVmIpFinder (if you don't use another ip finder in your configuration). In the case you should set the ip finder in IgniteContext. The following code sn

Re: Ignite for Spark on YARN Deployment

2016-06-08 Thread Hongmei Zong
Hi Nikolai, Thank you very much for your solution! I would like to double check with you about my address1…... ipFinder.setAddresses(Arrays.asList("your_address1:47500..47510", "your_address2:47500..47510", > > "your_address3:47500..47510")); your_address1:47500..47510,your_address2:47500.

Re: Simulating Graph Dependencies With Ignite

2016-06-08 Thread pragmaticbigdata
1. The code attempts to fetch the cache entry, update it and return an attribute of that cache entry. Assuming it would be faster to perform this operation on the node where the data resides, I was trying out affinity collocation. Kindly correct me if my assumption is wrong. 2. I added the if chec

Re: Cache.put delays

2016-06-08 Thread bintisepaha
We still saw issues with 1.6.0, but sing FULL_SYNC mode resolves it. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cache-put-delays-tp5386p5539.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

transaction not timing out

2016-06-08 Thread bintisepaha
Hi, We are using txns as below in code tx=ignite.transactions().txStart(TransactionConcurrency.OPTIMISTIC, TransactionIsolation.SERIALIZABLE); tx.timeout(10*1000); The timeout is set to 10 seconds. However, we can see that one of the threads is stuck acquiring locks for over an hour stalling so

Re: Ignite Write Behind performance

2016-06-08 Thread bintisepaha
Thanks for that. we were setting flushsize to 0. how about flush thread count? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-Write-Behind-performance-tp5385p5541.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Unregistering from mailing list

2016-06-08 Thread Pavel Konstantinov
Hi Andrea, Try to unsubscribe using corresponding button here http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1 Hope this helps. -- Pavel Konstantinov