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

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

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

2019-12-15 Thread camer314
I figured that I needed the optional kubernetes JARS which are part of the binary distribution but not he Nuget package, so I added the ignite-kubernetes libs to my docker image as well, now I get a different error of null pointer: Caused by:

Getting Spring XML exception when using Ignite .NET with Kubernetes

2019-12-15 Thread camer314
Hello, I have built a docker image of my Ignite .NET application and am instantiating this as a pod in my Kubernetes deployment. This all works as expected and Ignite initializes fine. However, I want my nodes to be discoverable so I am attempting to use the Spring XML file located here