[
https://issues.apache.org/jira/browse/FLINK-8265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16304836#comment-16304836
]
ASF GitHub Bot commented on FLINK-8265:
---------------------------------------
GitHub user EronWright opened a pull request:
https://github.com/apache/flink/pull/5208
[FLINK-8265] [Mesos] Missing jackson dependency for flink-mesos
## What is the purpose of the change
Fix for missing dependency in Mesos deployments.
## Brief change log
- updated `pom.xml` of `flink-mesos` to include
`com.fasterxml.jackson.core:*` as a shaded and relocated dependency.
## Verifying this change
- verify that `flink-dist_2.11-1.4-SNAPSHOT.jar` includes classes in
`org/apache/flink/mesos/shaded/com/fasterxml/jackson/`.
- This change is a trivial rework / code cleanup without any test coverage.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): yes
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/EronWright/flink FLINK-8265
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5208.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5208
----
commit fd5d7e5e138b543bdf35d0b3a4c36fe5934f5eb6
Author: Eron Wright <eronwright@...>
Date: 2017-12-27T22:26:47Z
[FLINK-8265] Missing jackson dependency for flink-mesos
----
> 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 jar-file.
> This manifests as an exception in certain circumstances when a hard
> constraint is configured ("mesos.constraints.hard.hostattribute").
> {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
(v6.4.14#64029)