Re: Expose service deployed on service node in ignite via REST

2018-12-13 Thread Zaheer
Update : I was able to solve that error by using localhost:8080/ignite?cmd=exe=com.***.***.MyComputeTask. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Expose service deployed on service node in ignite via REST

2018-12-13 Thread Zaheer
So lets say I create a compute task extending compute-task-split-adapter and I write my code inside split and reduce methods. After that is it enough just to package my file as jar and place in libs folder of ignite installation , for the rest api to recognize. Ex : / public class MyComputeTask

Re: Expose service deployed on service node in ignite via REST

2018-12-13 Thread Zaheer
Thank you very much :D . -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

org.springframework.beans.NotWritablePropertyException: Invalid property 'awsCredentialsProvider' of bean class [org.apache.ignite.spi.discovery.tcp.ipfinder.s3.TcpDiscoveryS3IpFinder]

2018-12-13 Thread Max Barrios
I have a Spark 2.2.0 app that writes a RDD to Ignite 2.6.0. It *works* in local Spark (2.2.0) mode, accessing a remote Ignite 2.6.0 cluster, In my ignite.xml, I am specifying AWS S3-based Discovery, as my Ignite cluster is running in AWS. When I deploy this working-in-local-mode jar to a Spark

QueryCursor challenge - Data conversion error converting char (not supported)

2018-12-13 Thread Elanthirayan Krishnasamy
Hello I have a case to loop through few million records and apply some transformation, for that I knew I have to use scanquery. However, for printing sample data I tried to use QueryCursor and got Data conversion error. Not sure why. Cache.get worked and scanquery also worked fine, just query

RE: Apache.Ignite.EntityFramework

2018-12-13 Thread Stéphane Gayet
Hi Pavel, Thanks for your reply. Any date ? Regards Stéphane Gayet Responsable Développement / Development Manager [https://storage.letsignit.com/5b884a1a1e0a0f0007c51472/55370421467418375936059118036679301217.png] (+33) 1 70 38 70 74

Re: How to run Ignite REST API scan query with predicate

2018-12-13 Thread Ilya Kasnacheev
Hello! You don't. It will be initialized from empty constructor. Regards, -- Ilya Kasnacheev чт, 13 дек. 2018 г. в 16:43, begineer : > Ok Even if i add default constructor, how do I pass parameters of this > class > to query ? > > > > -- > Sent from:

Can i use SQL query and Cache Operations in same transaction (JTA)

2018-12-13 Thread Hyungbai
I am trying Apache Ignite 2.7 To use the MVCC feature, I configured each cache mode 'TRANSACTINAL_SNAPSHOT'. During weblogic JTA transaction processing, "SQL query and cache operations are not used in the same transaction" is logged and the transaction rollback. Ignite native APIs(get, put and

Re: Web Agent configurations to connect Secured(SSL) IGNITE

2018-12-13 Thread Alexey Kuznetsov
Hi, I would also add to Ilya's answer that I almost finished with IGNITE-9845 (it is on review right now). https://issues.apache.org/jira/browse/IGNITE-9845 That will add explicit way to configure SSL for Web Agent. -- Alexey Kuznetsov

Re: How to run Ignite REST API scan query with predicate

2018-12-13 Thread begineer
Ok Even if i add default constructor, how do I pass parameters of this class to query ? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Web console project cannot start an ignite server node

2018-12-13 Thread Ilya Kasnacheev
Hello! java.lang.NoSuchMethodError: org.eclipse.jetty.util.log.StdErrLog.setProperties(Ljava/util/Properties;)V Where did it go? Please note that Ignite REST needs Jetty 9.2.11 and in your classpath there is 9.4.12. If they are binary incompatible then you should downgrade. Alternatively,

Re: Expose service deployed on service node in ignite via REST

2018-12-13 Thread Denis Mekhanikov
Zaheer, There is an embedded REST processor in Ignite. It doesn't have a direct way to call service methods. But you can execute compute tasks via REST, and you may use it to call services. Another option is to write a custom REST controller and write your custom logic in it. That's what you

Re: Web Agent configurations to connect Secured(SSL) IGNITE

2018-12-13 Thread Ilya Kasnacheev
Hello! You can try specifying java.net.ssl.* java system properties rougly as per: https://docs.oracle.com/javadb/10.8.3.0/adminguide/cadminsslclient.html Regards, -- Ilya Kasnacheev чт, 13 дек. 2018 г. в 09:32, Shesha Nanda : > Hi, > > I have deployed IGNITE 2.7 by enabling SSL security.

Guarantees of CacheQueryEntryEvent.getPartitionUpdateCounter()

2018-12-13 Thread Piotr Romański
Hi, I would like to ask what guarantees CacheQueryEntryEvent.getPartitionUpdateCounter() provides. Can I assume that within a single partition: 1. They are unique. 2. They are consumed sequentially in the increasing order. 3. They are consecutive numbers - there are no gaps even in case of node

Re: Apache Ignite Join

2018-12-13 Thread Ilya Kasnacheev
Hello! I don't really understand why you add extra condition to join and get more records, not fewer. Can you analyze those 66 records, try to find something in common. Then do the same for records that did not show up, try to understand how they are different from the previous ones. Regards,

Re: How to run Ignite REST API scan query with predicate

2018-12-13 Thread Ilya Kasnacheev
Hello! I guess your class should have default constructor. This means it has to define its data statically or take it from some pre-defined location. Relevant code snippet from QueryCommandHandler: case SCAN: IgniteBiPredicate pred = null; if (req.className() != null) pred =

Re: Continuous queries and duplicates

2018-12-13 Thread Piotr Romański
Ok, thanks. Moved the discussion here: http://apache-ignite-developers.2346864.n4.nabble.com/Continuous-queries-and-duplicates-td39444.html wt., 11 gru 2018 o 14:05 Ilya Kasnacheev napisał(a): > Hello! > > You could write this message to developers list in a separate thread, see > if there will

Re: Sharding issue in Ignite Cluster

2018-12-13 Thread Ilya Kasnacheev
Hello! Yes, please collect jstack from all nodes. Regards, -- Ilya Kasnacheev чт, 13 дек. 2018 г. в 12:43, summasumma : > Hi Ilya, > > Sure i will with less or no msg-queue. > > Can you please let me know how to take the stack trace? same as jstack > thread dump? > > Thanks, > ...summa > > >

Re: Sharding issue in Ignite Cluster

2018-12-13 Thread summasumma
Hi Ilya, Sure i will with less or no msg-queue. Can you please let me know how to take the stack trace? same as jstack thread dump? Thanks, ...summa -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Expose service deployed on service node in ignite via REST

2018-12-13 Thread Zaheer
Hi Denis, Thanks for the reply. I will look into that section about executing the compute task from REST. But I require to call the service via REST. Some forum posts suggested using jetty inside *init()* method of service implementation. I would like to know more about exposing the service via

Re: Migrate from 2.6 to 2.7

2018-12-13 Thread xtron
Thanks. This helped, but it requires deactivate all cluster and delete "work" dir, else i had error like "different field type parentId: field1: Object, field2: uuid". Just restart cluster didn't help. I found one way: recreate uuid field via sql (sqline) without data lost (create other column,

Re: Expose service deployed on service node in ignite via REST

2018-12-13 Thread Denis Mekhanikov
Zaheer, Does it have to be a service? Won't a compute task be enough? You can use an execute REST command to run a compute task on a grid. You may either modify the cache or call a service from this task. Denis чт, 13 дек. 2018 г. в