Re: Getting UnknownHostException: kubernetes.default.svc.cluster.local when using hostNetwork

2019-12-16 Thread camer314
I found a solution to this which you might want to update your documentation with. The answer is to add a dnsPolicy for the pod along with hostNetwork, as per below: spec: hostNetwork: true dnsPolicy: ClusterFirstWithHostNet serviceAccountName: ignite containers:

Getting UnknownHostException: kubernetes.default.svc.cluster.local when using hostNetwork

2019-12-16 Thread camer314
Hello, I have setup a Kubernetes environment with auto discovery and the nodes are able to find one another no problem. I did have several issues along the way which this forum has helped resolve, including some modifications to YAML that differ from those from the Ignite docs. However, now when

ByteArrayConverter is not compatible with objects of type class org.apache.ignite.internal.binary.BinaryObjectImpl

2019-12-16 Thread ashishb888
I am using Ignite Kafka connector with below config: *connect-standalone.properties* key.converter.schemas.enable=false value.converter.schemas.enable=false key.converter=org.apache.kafka.connect.converters.ByteArrayConverter value.converter=org.apache.kafka.connect.converters.ByteArrayConverter

Re: Ignite meetup at Google Headquarters on Dec 18th

2019-12-16 Thread Denis Magda
Just a reminder for those who live/work nearby. We've already got 200 registrations for in-memory computing essentials talk across Silicon Valley JUG and in-memory computing groups. We're running out of chairs but still have a few left, join! - Denis On Mon, Dec 9, 2019 at 1:52 AM Denis Magda

custom java classes and ignite node questions

2019-12-16 Thread Scott Cote
Igniters, Request: we want to segregate our caches so that they are no longer sharing a common jar in the libs folder. Background: We currently deploy our custom java classes in a jar to the lib folder of the config directory of Apache Ignite (three nodes operating as data servers, and

Re: Threads created in Ignite Runtime / JVM

2019-12-16 Thread Ilya Kasnacheev
Hello! The first one is our thread, JDBC Connector. The second one, I'm not sure. Regards, -- Ilya Kasnacheev пн, 16 дек. 2019 г. в 06:08, krkumar24061...@gmail.com < krkumar24061...@gmail.com>: > Hi Guys - Who creates these threads in Ignite Runtime. As I see these > threads > are not

Re: creating table on a pre-existing cache in ignite

2019-12-16 Thread Ilya Kasnacheev
Hello! Yes, you can do that by following this documentation: https://apacheignite.readme.io/docs/indexes Regards, -- Ilya Kasnacheev сб, 14 дек. 2019 г. в 09:53, datta : > Hi, > > Ok > > is there way to create table from config.xml under cache config. > > i want to specify primary key and

Re: Manage offset of KafkaStreamer

2019-12-16 Thread ashishb888
Noted. Thank you Andrei. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Fetching Server DataStorageMetric

2019-12-16 Thread Stephen Darlington
Use the compute grid. Something like: Collection mx = ignite.compute().broadcast(() -> { Ignite i = Ignition.ignite(); return i.dataStorageMetrics(); }); System.out.println(mx); Regards, Stephen > On 16 Dec 2019, at 11:28, Mahesh Renduchintala > wrote: > > Hi, > > I need to fetch

Re: Getting Spring XML exception when using Ignite .NET with Kubernetes

2019-12-16 Thread Pavel Tupitsyn
> UnknownHostException: kubernetes.default.svc.cluster.local Looks like you are not running within Kubernetes. This address is available from within Pods. https://github.com/kubernetes/dns/blob/master/docs/specification.md On Mon, Dec 16, 2019 at 2:30 PM camer314 wrote: > I fixed this by

Re: Getting Spring XML exception when using Ignite .NET with Kubernetes

2019-12-16 Thread camer314
I fixed this by following http://apache-ignite-users.70518.x6.nabble.com/ignite-kubernetes-seems-to-be-missing-the-jackson-annotations-dependency-td25670.html (Copying a missing JAR) This gets past that error and now I am left with the following but thats probably more environmental... class

Fetching Server DataStorageMetric

2019-12-16 Thread Mahesh Renduchintala
Hi, I need to fetch the DataStorageMetric of server nodes. Tried the following API. It seems to give the dataStorageMetric of the local node (a thick client) only. DataStorageMetrics pm = ignite.dataStorageMetrics() How do I programmatically fetch DataStorageMetric of the server node(s)?

Re: Getting Spring XML exception when using Ignite .NET with Kubernetes

2019-12-16 Thread Pavel Tupitsyn
> Seems like the nuget package has different versions bundled together. Oh, you are right. Looks like an issue with the release build on CI, I'll double check. Thanks for pointing this out. On Mon, Dec 16, 2019 at 2:05 PM camer314 wrote: > Ah ok, let me try that. > > I was using your Docker

Re: Getting Spring XML exception when using Ignite .NET with Kubernetes

2019-12-16 Thread camer314
Pruning the list down to the bin distribution gets past that error but now I am getting: Unhandled Exception: Apache.Ignite.Core.Common.IgniteException: Java class is not found (did you set IGNITE_HOME environment variable?): com/fasterxml/jackson/annotation/JsonView --->

Re: Getting Spring XML exception when using Ignite .NET with Kubernetes

2019-12-16 Thread camer314
Ah ok, let me try that. I was using your Docker project https://github.com/ptupitsyn/ignite-net-docker . Seems like the nuget package has different versions bundled together. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Getting Spring XML exception when using Ignite .NET with Kubernetes

2019-12-16 Thread Pavel Tupitsyn
You seem to have a mix up of different Spring versions: - /app/libs/spring-core-5.0.8.RELEASE.jar - /app/libs/spring-core-4.3.18.RELEASE.jar Please make sure to download Ignite 2.7.6 binary distro and only use jar files from there. Here is the list I have in `libs` folder: annotations-13.0.jar

Re: Getting Spring XML exception when using Ignite .NET with Kubernetes

2019-12-16 Thread camer314
No problem, This is everything that is logged: at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) at

Re: Getting Spring XML exception when using Ignite .NET with Kubernetes

2019-12-16 Thread Pavel Tupitsyn
I tried your scenario, and after adding jars from optional/ignite-kubernetes folder of binary distribution, it worked for me. Can you please send full exception details (entire stack trace)? On Mon, Dec 16, 2019 at 9:59 AM camer314 wrote: > I figured that I needed the optional kubernetes JARS