ignite-kubernetes seems to be missing the jackson-annotations dependency

classic Classic list List threaded Threaded
2 messages Options
kellan kellan
Reply | Threaded
Open this post in threaded view
|

ignite-kubernetes seems to be missing the jackson-annotations dependency

While trying to run ignite 2.7 with the ignite-kubernetes package I'm getting
this error at start-up:

java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonView
        at
com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.<clinit>(JacksonAnnotationIntrospector.java:37)
        at
com.fasterxml.jackson.databind.ObjectMapper.<clinit>(ObjectMapper.java:291)
        at
org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder.getRegisteredAddresses(TcpDiscoveryKubernetesIpFinder.java:151)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.registeredAddresses(TcpDiscoverySpi.java:1900)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.resolvedAddresses(TcpDiscoverySpi.java:1848)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl.sendJoinRequestMessage(ServerImpl.java:1049)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl.joinTopology(ServerImpl.java:910)
        at
org.apache.ignite.spi.discovery.tcp.ServerImpl.spiStart(ServerImpl.java:391)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStart(TcpDiscoverySpi.java:2020)
        at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:297)
        at

It seems like ignite-kubernetes is missing the jackson-annotations
dependency. To rectify, you can ignite-aws or ignite-rest-http from the
optional libs, which both include it.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
stephendarlington stephendarlington
Reply | Threaded
Open this post in threaded view
|

Re: ignite-kubernetes seems to be missing the jackson-annotations dependency

I literally just found this myself (with the same workaround).

I’ve raised a ticket (https://issues.apache.org/jira/browse/IGNITE-10577) and will discuss more on the dev mailing list.

Regards,
Stephen

On 6 Dec 2018, at 13:35, kellan <[hidden email]> wrote:

While trying to run ignite 2.7 with the ignite-kubernetes package I'm getting
this error at start-up:

java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonView
at
com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.<clinit>(JacksonAnnotationIntrospector.java:37)
at
com.fasterxml.jackson.databind.ObjectMapper.<clinit>(ObjectMapper.java:291)
at
org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder.getRegisteredAddresses(TcpDiscoveryKubernetesIpFinder.java:151)
at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.registeredAddresses(TcpDiscoverySpi.java:1900)
at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.resolvedAddresses(TcpDiscoverySpi.java:1848)
at
org.apache.ignite.spi.discovery.tcp.ServerImpl.sendJoinRequestMessage(ServerImpl.java:1049)
at
org.apache.ignite.spi.discovery.tcp.ServerImpl.joinTopology(ServerImpl.java:910)
at
org.apache.ignite.spi.discovery.tcp.ServerImpl.spiStart(ServerImpl.java:391)
at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.spiStart(TcpDiscoverySpi.java:2020)
at
org.apache.ignite.internal.managers.GridManagerAdapter.startSpi(GridManagerAdapter.java:297)
at

It seems like ignite-kubernetes is missing the jackson-annotations
dependency. To rectify, you can ignite-aws or ignite-rest-http from the
optional libs, which both include it.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/