Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8265

Missing jackson dependency for flink-mesos

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.1, 1.5.0
    • Component/s: Mesos
    • Labels:
      None

      Description

      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").

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eronwright Eron Wright
                Reporter:
                eronwright Eron Wright
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: