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

2016-08-02 Thread Kamal C
Val. In real use-case, all the initialization are done in the *init* block. Due to the above mentioned behavior, I want to deploy the services locally / manually after initialization. The suggested approach to deploy a service only in the local node is not working. Do you have any alternate solut

Re: Start node in remote server which needs authentication

2016-08-02 Thread chevy
I have set up rest jetty config and other settings in my local. When I deploy my code in a server I need to access that remote machine to start the node in that machine through my code. To achieve this, can you provide me config changes I need to make in my config files as well as my code that star

Unsubscribe

2016-08-02 Thread jaroslav.saxa
Thank you, Jaroslav Saxa Accenture - Technology Architecture Plynarenska 7/C, 829 01 Bratislava Mobile: +421-904-706113 Email: jaroslav.s...@accenture.com This message is for the designated recipient only and may contain privi

Re: [Ignite 1.6.0 .net version]When on server node failed, the PutAll in all the client nodes hang

2016-08-02 Thread Jason
More info about this: we've use SortedDictionary in the PutAll, which means all the keys are sorted and there shouldn't deadlock. Thanks, -Jason -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-1-6-0-net-version-When-on-server-node-failed-the-PutAll-in-

Re: Failed to wait for initial partition map exchange

2016-08-02 Thread Jason
hi Val, seems that when there's assertion or OOM in one node, it doesn't exit, right? so it still sends heartbeat to others, then the whole cluster are waiting for it to recover (hanging). Is there any easy way to let one node restart immediately when encounter unrecoverable errors, like OOM or s

Re: Implementing a distributed crawler

2016-08-02 Thread vkulichenko
As I already mentioned, I would use compute grid for this. As for the back pressure, you can limit the number of jobs executed at the same time and define different scheduling strategies [1]. The queue just looks like an unnecessary piece here. [1] https://apacheignite.readme.io/docs/job-schedulin

Unsubscribe

2016-08-02 Thread jitesh dundas
Regards, Jitesh Dundas > On Aug 2, 2016, at 6:18 PM, vkulichenko wrote: > > Hi Kamal, > > This issue is related to this one: > https://issues.apache.org/jira/browse/IGNITE-3392. Current service > deployment process is asynchronous, so if it takes a lot of time to deploy > it, you can get the

Re: Implementing a distributed crawler

2016-08-02 Thread vm
Hi Val, thanks for you help. I really like the aspects of the blocking-queue to provide natural "back pressure", but if performance becomes a real problem here, can you suggest an alternative approach? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Implementing-

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

2016-08-02 Thread vkulichenko
Hi Kamal, This issue is related to this one: https://issues.apache.org/jira/browse/IGNITE-3392. Current service deployment process is asynchronous, so if it takes a lot of time to deploy it, you can get these exceptions in the logs. Note that they actually do not break anything, everything becomes

Re: transaction not timing out

2016-08-02 Thread vkulichenko
Yes, prepare phase happens within the commit() and the commit phase start only after prepare is finished. The commit phase updates the data which includes write-through to the database. So if commit takes a lot of time due to issues with the database, we can't rollback without causing data inconsi

Re: SASL support for Ignite

2016-08-02 Thread vkulichenko
I responded on StackOverflow: http://stackoverflow.com/questions/38676924/apache-ignite-and-sasl -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/SASL-support-for-Ignite-tp6643p6684.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: A question from Hadoop mapreduce with Ignite Cluster.

2016-08-02 Thread vkulichenko
Hi, Can you 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 SonixLegend wrote > Caused by: Generic IGFS error occurred. The ex

Re: Implementing a distributed crawler

2016-08-02 Thread vkulichenko
Hi VM, This sounds like a good use case for Compute Grid [1]. It will allow you to do parallel processing with proper failover and load balancing. The issue with the distributed queue is that any operation is actually the update of a single entry in cache, so this will be a single point of conten

Re: Start node in remote server which needs authentication

2016-08-02 Thread vkulichenko
Hi, You can use ssh and run ignite.sh script on a remote machine to start a node. Is that what you're looking for? REST support HTTPS. You can configure the underlying Jetty server in any way you like by providing the path to a configuration file: See this page for Jetty SS

Re: Getting exception in SQL Query JOINS

2016-08-02 Thread vkulichenko
Hi, You can't index the same type twice with different keys: ccfg.setIndexedTypes(Integer.class, Company.class); ccfg.setIndexedTypes(LocalDate.class, Company.class); Can you try removing one of them and see if it helps? BTW, it looks like you simply searching for cache entries by ids. Why not

Re: Stored Procedure

2016-08-02 Thread vkulichenko
Hi kvipin, 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 kvipin wrote > I'm trying to connect to apache ignite through sqllin

Re: Failed to run reduce query locally

2016-08-02 Thread vkulichenko
Hi David, When you call getAll(), you fetch the whole result set to the client. If you're doing 'select *' from a disctributed without any conditions, you will very likely get an out of memory, because to execute such a query your client needs to have capacity equal to the total capacity of all se

Re: Ignite health check

2016-08-02 Thread vkulichenko
Hi Yuci, First of all, 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 http://ignite.apache.org/addons.html yu

Re: Is it possible to create query indexes without restarting the cache cluster ?

2016-08-02 Thread david.alexanyan
Thank You Alexey -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Is-it-possible-to-create-query-indexes-without-restarting-the-cache-cluster-tp6669p6676.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Can not start another client when doing ContinuousAsyncQuery

2016-08-02 Thread vkulichenko
Hi, Thanks for the log. This looks very weird. Basically, the remote filter factory is null when getEventFilter() method is called, but we have the similar assertion check in constructor, so it should've been failed there if something is wrong. Can you use debugger to figure out which thread creat

Getting exception in SQL Query JOINS

2016-08-02 Thread begineer
I want to get data from ignite cache for list of keys which I can pass in IN clause of SQL Query. BUt since IN does not take dynamic parameters, I followed this link to use JOIN to perform my task, Unfor

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

2016-08-02 Thread Kamal C
Have anyone looked at this gist [1]. I'm facing issues with rolling startup. [1]: https://gist.github.com/Kamal15/0f4175fdcfd2c4ef909150be5d896c56 On Sat, Jul 30, 2016 at 6:41 PM, Kamal C wrote: > Thanks for providing the answers Val! > > A. Actually, I forgot that Ignite service accepts predic

Re: Is it possible to create query indexes without restarting the cache cluster ?

2016-08-02 Thread Alexey Kuznetsov
David, You can recreate cache with new indexes from java code without restarting cluster. See, cache.destroy() method. But all data will be lost and you will need to reload. You may watch issue in JIRA: "Need to add support for dynamic indexes" https://issues.apache.org/jira/browse/IGNITE-735 It

Timings for a weighted average computation

2016-08-02 Thread Piubelli, Manuel
Reposting with more meaningful subject From: Piubelli, Manuel [ICG-IT] Sent: 02 August 2016 12:59 To: 'user@ignite.apache.org' Subject: Stack Overflow Question Hello, I was benchmarking Apache Ignite for some near - realtime usage and was surprised by how long it takes to compute a weighted av

Is it possible to create query indexes without restarting the cache cluster ?

2016-08-02 Thread david.alexanyan
Currenlty I am usnig config file to setup asc/desc indexes. is there a way to create indexes (through console CLI) while the lcuster is up and running ? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Is-it-possible-to-create-query-indexes-without-restarting-the-

Start node in remote server which needs authentication

2016-08-02 Thread chevy
Hi, We use openstack machines to deploy any app in remote. Generally I *ssh* to the machine using a .pem file and its ip address which is assigned during setting up that machine. My query is that I need to start my node in this remote machine (I have added its address into ipfinder list). Now f

Stack Overflow Question

2016-08-02 Thread Piubelli, Manuel
Hello, I was benchmarking Apache Ignite for some near - realtime usage and was surprised by how long it takes to compute a weighted average of 500,000 records. I was wondering if I was doing something wrong or Ignite is genuinely a big overhead to the latency of the actual underlying computatio