flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jared Stehler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8265) Missing jackson dependency for flink-mesos
Date Thu, 14 Dec 2017 21:13:01 GMT

    [ https://issues.apache.org/jira/browse/FLINK-8265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16291605#comment-16291605

Jared Stehler commented on FLINK-8265:

There is a shaded jackson class with jackson2 in the package, but none with the path shown.
It seems like there is a missing include for jackson here in the flink-mesos pom?

								<includes combine.children="append">
							<relocations combine.children="append">

I was able as a workaround to build a simple shaded jackson deps jar relocated to "org.apache.flink.mesos.shaded.com.fasterxml.jackson"
and adding that to my /lib.

> Missing jackson dependency for flink-mesos
> ------------------------------------------
>                 Key: FLINK-8265
>                 URL: https://issues.apache.org/jira/browse/FLINK-8265
>             Project: Flink
>          Issue Type: Bug
>          Components: Mesos
>    Affects Versions: 1.4.0
>            Reporter: Eron Wright 
>            Assignee: Eron Wright 
>            Priority: Critical
>             Fix For: 1.4.1
> The Jackson library that is required by Fenzo is missing from the Flink distribution
> This manifests as an exception in certain circumstances when a hard constraint is configured
> {code}
> NoClassDefFoundError: org/apache/flink/mesos/shaded/com/fasterxml/jackson/databind/ObjectMapper
>     at com.netflix.fenzo.ConstraintFailure.<clinit>(ConstraintFailure.java:35)
>     at com.netflix.fenzo.AssignableVirtualMachine.findFailedHardConstraints(AssignableVirtualMachine.java:784)
>     at com.netflix.fenzo.AssignableVirtualMachine.tryRequest(AssignableVirtualMachine.java:581)
>     at com.netflix.fenzo.TaskScheduler.evalAssignments(TaskScheduler.java:796)
>     at com.netflix.fenzo.TaskScheduler.access$1500(TaskScheduler.java:70)
> {code}

This message was sent by Atlassian JIRA

View raw message