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 <cameron.mur...@towerswatson.com>
wrote:

> 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: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name
> 'org.apache.ignite.configuration.IgniteConfiguration#0' defined in URL
> [https://wtwdeeplearning.blob.core.windows.net/ignite/spring_config.xml]:
> Cannot create inner bean
> 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#6eceb130' of type
> [org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi] while setting bean
> property 'discoverySpi'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi#6eceb130'
> defined in URL
> [https://wtwdeeplearning.blob.core.windows.net/ignite/spring_config.xml]:
> Cannot create inner bean
>
> 'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#2eda0940'
> of type
>
> [org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder]
> while setting bean property 'ipFinder'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name
>
> 'org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder#2eda0940'
> defined in URL
> [https://wtwdeeplearning.blob.core.windows.net/ignite/spring_config.xml]:
> Initialization of bean failed; nested exception is
> java.lang.NullPointerException
>         at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)
>         at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
>
> My libs folder looks like this:
>
> /app/libs/spring-data-commons-2.0.9.RELEASE.jar
> /app/libs/commons-io-2.6.jar
> /app/libs/spring-core-5.0.8.RELEASE.jar
> /app/libs/spring-core-4.3.18.RELEASE.jar
> /app/libs/ignite-spring-data_2.0-2.7.6.jar
> /app/libs/commons-rng-core-1.0.jar
> /app/libs/ignite-shmem-1.0.0.jar
> /app/libs/cache-api-1.0.0.jar
> /app/libs/commons-logging-1.1.1.jar
> /app/libs/commons-collections-3.2.2.jar
> /app/libs/spring-expression-4.3.18.RELEASE.jar
> /app/libs/commons-math3-3.6.1.jar
> /app/libs/spring-aop-4.3.18.RELEASE.jar
> /app/libs/spring-tx-4.3.18.RELEASE.jar
> /app/libs/lucene-core-7.4.0.jar
> /app/libs/spring-tx-5.0.8.RELEASE.jar
> /app/libs/ignite-core-2.7.6.jar
> /app/libs/ignite-indexing-2.7.6.jar
> /app/libs/spring-beans-4.3.18.RELEASE.jar
> /app/libs/commons-beanutils-1.9.3.jar
> /app/libs/ignite-spring-data-2.7.6.jar
> /app/libs/commons-logging-1.2.jar
> /app/libs/h2-1.4.197.jar
> /app/libs/commons-codec-1.11.jar
> /app/libs/spring-beans-5.0.8.RELEASE.jar
> /app/libs/spring-data-commons-1.13.14.RELEASE.jar
> /app/libs/spring-context-4.3.18.RELEASE.jar
> /app/libs/spring-jdbc-4.3.18.RELEASE.jar
> /app/libs/lucene-queryparser-7.4.0.jar
> /app/libs/spring-context-5.0.8.RELEASE.jar
> /app/libs/commons-lang-2.6.jar
> /app/libs/commons-beanutils-1.9.2.jar
> /app/libs/commons-rng-simple-1.0.jar
> /app/libs/ignite-spring-2.7.6.jar
> /app/libs/lucene-analyzers-common-7.4.0.jar
> /app/libs/ignite-kubernetes-2.7.6.jar
> /app/libs/README.txt
> /app/libs/jackson-databind-2.9.6.jar
> /app/libs/jackson-core-2.9.6.jar
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to