RE: Ignite performance

2016-08-05 Thread vkulichenko
Hi Manuel, Are the results in the latest table in milliseconds? I don't see significant growth with the number of elements there, am I missing something? Actually your query calculates average for the whole data set which means that the cache is scanned, so I would expect that the latency will dep

Re: Is Ignite worth using in its current state in production? Is it mature enough?

2016-08-05 Thread vkulichenko
Hi, Both Apache Ignite and GridGain are widely used in production for various use cases. Actually, GridGain is fully based in Ignite and shares the whole codebase with all its issues and problems. I personally think that most of the issues that users have are caused by incorrect usage. Ignite (li

Re: Failed to run reduce query locally

2016-08-05 Thread vkulichenko
Hi David, Are you sure you need to fetch all 10M entries to a single client? This is something that you should always avoid in a distributed system, even if the client is capable to have this data in memory. What's your use case? -Val -- View this message in context: http://apache-ignite-user

Re: ClassNotFoundException with affinity run

2016-08-05 Thread vkulichenko
CBribiescas wrote > Thanks! This also solved my problem. However, I feel the documentation is > unclear. http://apacheignite.gridgain.org/docs/persistent-store says "For > distributed cache configuration Factory should be serializable." What is > meant by that if not that cache classes should be

Re: Cassandra support disappeared?

2016-08-05 Thread vkulichenko
Hi, Please properly subscribe to the mailing list so that the community can receive email notifications for your messages. Here is the instruction: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1 ecl207 wrote > The Cassandra persistence implementation p

Re: Cannot get cache through the REST API

2016-08-05 Thread vkulichenko
Hi, This commands only creates the cache and does not respond with any data. Refer to the whole list of available commands here: https://apacheignite.readme.io/docs/rest-api -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cannot-get-cache-through-the-REST-

Re: ignite node stopped abnormally

2016-08-05 Thread vkulichenko
Hi Kevin, The node was segmented. This usually happens either due to networks problems, or because of memory issues. Can you check the logs of other nodes? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/ignite-node-stopped-abnormally-tp6781p6819.html Sent

Re: How asynchronous cache is implemented

2016-08-05 Thread vkulichenko
Hi Devin, Please properly subscribe to the mailing list so that the community can receive email notifications. Here is the instruction: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1 Devin Louis wrote > I wonder if asynchronous mode will work when the

Re: What is the recommended/typical deployment/managing procedure for Ignite in production?

2016-08-05 Thread vkulichenko
Hi, You should not have any issues with OpenJDK and/or Docker. Both are actively used by community members. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/What-is-the-recommended-typical-deployment-managing-procedure-for-Ignite-in-production-tp6747p6817.h

Re: cancel implementation issue in service class.

2016-08-05 Thread vkulichenko
Hi Kevin, This highly depends on what exactly your code is doing and what do you want to do when the service is cancelled (redeployed or undeployed). Basically, cancel() method is just a callback notifying you that all the activities should stop, by you can still wait for some operations to finish

Re: Not able to start ignite node in ubuntu server

2016-08-05 Thread vkulichenko
Chetan, Why do you think it's an SSL issue? Did you enable it? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Not-able-to-start-ignite-node-in-ubuntu-server-tp6707p6815.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: What is the recommended EC2 instance to setup and run Apache Ignite?

2016-08-05 Thread vkulichenko
The only recommendation (not a requirement) is 10GBit network. Everything else depends only on your use case. You may need more memory if you have a large data set, more CPUs if you do a lot of computations, or both. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nab

Re: How Asynchronous support works underneath? 60 * N put calls every second

2016-08-05 Thread vkulichenko
There are threads involved, of course (e.g., there are several workers dedicated exclusively for writing the data into the channel), but you do not occupy any thread for the whole duration of an operation if it's executed asynchronously. In other words, you do not need a separate thread for each op

Re: 答复: question about ignite benchmark test

2016-08-05 Thread vkulichenko
Kevin, Jason, Here is the source code for these benchmarks: https://github.com/apacheignite/yardstick-ignite. Most of the mentioned parameters are configurable, but the published benchmarks are executed with defaults unless otherwise specified. -Val -- View this message in context: http://apa

Re: Ignite Services: How to preserve value of Local variables ?

2016-08-05 Thread vkulichenko
Kamal, So is it working for you now? Changing the initialization process in service is not an option right now, probably in 2.0. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-Services-How-to-preserve-value-of-Local-variables-tp4094p6811.html Sent

Re: Getting exception in SQL Query JOINS

2016-08-05 Thread vkulichenko
Hi, If you have only one argument and it's an array, you should provide it like this: qry.setArgs(new Object[] {new Integer[] {1, 2}}); That's because of varargs which are not very usable in this particular case. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabb

Re: Failed to wait for initial partition map exchange

2016-08-05 Thread vkulichenko
Hi Jason, Try the failure detection timeout. This will address vast majority of such issues. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Failed-to-wait-for-initial-partition-map-exchange-tp6252p6809.html Sent from the Apache Ignite Users mailing list a

Re: Deploying service programmatically hangs the app

2016-08-05 Thread juanma.cvega
Hi, I already replied to the confirmation email twice. Is there any other thing I have to do? The place were it hangs is when calling ignite.services().deploy(serviceConfiguration()) from inside the bean IgniteClusterSingletonStarter. The full code is in the first post. If I remove that bean and

Cannot get cache through the REST API

2016-08-05 Thread yucigou
I want to see the list of entries cached, so I'm trying the following REST API. But it does not return anything. http://ves-hx-40.ebi.ac.uk:8080/ignite?cmd=getorcreate&cacheName=session-cache The response: { "error": "", "response": null, "sessionToken": "", "

Re: Deploying service programmatically hangs the app

2016-08-05 Thread vdpyatkov
Hello, Please properly subscribe to the mailing list so that the community can receive email notifications for you messages. Here is the instruction: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1 Could you please provide full example, where hang taking

Re: Local node seems to be disconnected from topology (failure detection timeout is reached)

2016-08-05 Thread yucigou
Here is what looked like for the other node: By the way, there were no HTTP traffic

Re: Local node seems to be disconnected from topology (failure detection timeout is reached)

2016-08-05 Thread Vladislav Pyatkov
If in topology contains only two nodes, need to view logs from both. A pause can occur as a single node and the second. Please collect log from both nodes and attach files to the topic. [1] https://apacheignite.readme.io/docs/jvm-and-system-tuning#section-detailed-garbage-collection-stats On Fri,

Re: Local node seems to be disconnected from topology (failure detection timeout is reached)

2016-08-05 Thread yucigou
Thanks for your reply. Indeed the CPU and memory was a bit intense during the period of time when I ran the Apache Ignite Web Console Agent, so as to use the Apache Ignite Web Console to monitoring my Ignite nodes. But it seemed under control (notes: figures below are provided by JavaMelody):

Re: Local node seems to be disconnected from topology (failure detection timeout is reached)

2016-08-05 Thread yucigou
Thanks for your reply. Indeed the CPU and memory was a bit intense during the period of time when I ran the Apache Ignite Web Console Agent, so as to use the Apache Ignite Web Console to monitoring my Ignite nodes. But it seemed under control (notes: figures below are provided by JavaMelody):

Re: Rest-api: Creating service to read data from cache

2016-08-05 Thread Vladislav Pyatkov
Hello Ignite REST API has predefined methods. If you need to do some SQL over a cache (for aggregation), you can see the topic[1]. In order to using REST API you need just put ignite-rest-http into classpath and Ignite deploys Jetty (with default configuration) automaticly. If you will have issu

Re: Local node seems to be disconnected from topology (failure detection timeout is reached)

2016-08-05 Thread Vladislav Pyatkov
It look like as segmentation by the reasong pause of garbage collector. You need attentively look the article [1] and collect GC logs, if GC works with long pauses (around 10 seconds) try to tune JVM. If the issue persists, please provide GC log and Ignite log for analyze. [1] https://apacheignit

Re: Start node in remote server which needs authentication

2016-08-05 Thread Vladislav Pyatkov
You can generate new certificate using keytool [1]. If you want to extract ssh certificate and insert it to JKS, look to the article [2]. [1] https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html [2] http://stackoverflow.com/questions/31385944/how-to-add-ssh-identity-

Local node seems to be disconnected from topology (failure detection timeout is reached)

2016-08-05 Thread yucigou
Hello, One of my Ignite nodes was stopped and the logs were appended as below. It seems that grid-timeout-worker checks the health of the cluster every minute. But then in my case, before the due time 23:34:19, at 23:34:03 it reported "Local node seems to be disconnected from topology (failure det

Re: Start node in remote server which needs authentication

2016-08-05 Thread chevy
That is the issue I am facing. I am not able to load my key in pem file to jks as it expects certificate along with it. Anyway I can get this working? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Start-node-in-remote-server-which-needs-authentication-tp6668p67

Re: Start node in remote server which needs authentication

2016-08-05 Thread Chetan . V . Yadav
That is the issue I am facing. I am not able to load my key in pem file to jks as it expects certificate along with it. Anyway I can get this working? -- Regards, Chetan. From: Vladislav Pyatkov mailto:vldpyat...@gmail.com>> Reply-To: "user@ignite.apache.org" mailt

Re: What does ignite-atomics-sys-cache do and how many backups should it set?

2016-08-05 Thread Vladislav Pyatkov
Hello, The cache is internal system cache which designed for store information about data structures [1]. You need to use beckup if afraid to lose data when node failure. When any data lost, behavior of data structures will be difficult to explain. [1] http://apacheignite.gridgain.org/v1.0/docs/a

?????? Is there any test case for disaster tolerance ?

2016-08-05 Thread smile
thank you very much, and I will try it ! -- -- ??: "Vladislav Pyatkov";; : 2016??8??5??(??) 7:24 ??: "user"; : Re: Is there any test case for disaster tolerance ? Lock at here [1]. The benchmark allow to check Ignite in v

Re: Is there any test case for disaster tolerance ?

2016-08-05 Thread Vladislav Pyatkov
Lock at here [1]. The benchmark allow to check Ignite in various cases (scalability, availability, fault tolerance). [1] https://github.com/apacheignite/yardstick-ignite#running-apache-ignite-benchmarks On Fri, Aug 5, 2016 at 4:02 AM, smile wrote: > Thanks for your answer, and I want to know th

Re: Start node in remote server which needs authentication

2016-08-05 Thread Vladislav Pyatkov
1) If your configuration is not contains IgniteConfiguration (not abstract) then ignite start will fail. 2) You must to put the key into JKS. I recommend use JAVA_HMOE/bin/keytool for creation JKS and generate key. The links keyStoreFilePath, trustStoreFilePath must point to jks. On Fri, Aug 5, 2

Re: Start node in remote server which needs authentication

2016-08-05 Thread chevy
Let me add more clarity on current issue - 1. I have a question - How does (abstract=true) affect this config? 2. I want to connect node running in my local with the one running in my remote machine but the connection is secure. When I tried to create keystore file (to be used with SslCon

Rest-api: Creating service to read data from cache

2016-08-05 Thread chevy
Hi, I have created bean which aligns to my table structure as shown below and add data to it. While pulling data from cache I need to do some aggregation on data and then create service using the data. Ignite provides rest-api but I did not see any variant where I just use that api by mentioning m

Re: Start node in remote server which needs authentication

2016-08-05 Thread Vladislav Pyatkov
Are you sure, which start Ignite with the configuration. The configuration contains only abstract Spring bean (abstract="true"). Please provide full configuration and log file (How are you start node in terminal? What are you seen in command line?). About this: Is this the right way to get nodes

Re: Not able to start ignite node in ubuntu server

2016-08-05 Thread chevy
It is working now. Thank you. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Not-able-to-start-ignite-node-in-ubuntu-server-tp6707p6786.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Default Ignite instance has already been started

2016-08-05 Thread Pavel Tupitsyn
The only purpose of the gridName property is to allow starting two nodes within same JVM. It does not affect anything else. It won't create two separate clusters. On Fri, Aug 5, 2016 at 11:36 AM, david.alexanyan wrote: > Yes but setting a name means that second thread is creating different grid

Re: Default Ignite instance has already been started

2016-08-05 Thread david.alexanyan
Yes but setting a name means that second thread is creating different grid and a cache in the default grid becomes unavailble to the second grid, right ? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Default-Ignite-instance-has-already-been-started-tp6782p67

Re: Default Ignite instance has already been started

2016-08-05 Thread Pavel Tupitsyn
Hi, You have to set different IgniteConfiguration.gridName when starting multiple nodes in the same JVM. Pavel. On Fri, Aug 5, 2016 at 11:03 AM, david.alexanyan wrote: > Hi, > I am trying to create 2 connections to the default grid by 2 seperate > threads from the same process. In this case ex

Default Ignite instance has already been started

2016-08-05 Thread david.alexanyan
Hi, I am trying to create 2 connections to the default grid by 2 seperate threads from the same process. In this case exception occurs stating that "Default Ignite instance has already been started.". Does this mean that it is possible to create only one connection to the same grid from one proces

ignite node stopped abnormally

2016-08-05 Thread Zhengqingzheng
Hi there, When I am using ignite server, I notice that sometimes one node failed abnormally, and please see the attachment for detail error message. Best regards, Kevin test.log Description: test.log

Re: Ignite logging and troubleshooting

2016-08-05 Thread Vladislav Pyatkov
Hello, Of course you can configure logger. If you want to more friendly log configuration I recommend using log4j. By default ignite using ignite-log4j logger, but if it is not found in classpath then Ignite using JUL (default location of configuration JUL file JRE_HOME/liob/logger.properties). U

What does ignite-atomics-sys-cache do and how many backups should it set?

2016-08-05 Thread Jason
hi Ignite, 1. what does ignite-atomics-sys-cache do? from the below code, seems that it contains some locks for the ignite. dsView = atomicsCache; cntDownLatchView = atomicsCache; semView = atomicsCache; reentrantLockView = atomicsCache;