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

TASK_KILLING is not covered by match in TaskMonitor#whenUnhandled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      Noticed the following :

      [WARNING] /a/flink-1.3.3/flink-mesos/src/main/scala/org/apache/flink/mesos/scheduler/TaskMonitor.scala:157: warning: match may not be exhaustive.
      [WARNING] It would fail on the following input: TASK_KILLING
      [WARNING]       msg.status().getState match {
      [WARNING]                    ^
      [WARNING] /a/flink-1.3.3/flink-mesos/src/main/scala/org/apache/flink/mesos/scheduler/TaskMonitor.scala:170: warning: match may not be exhaustive.
      [WARNING] It would fail on the following input: TASK_KILLING
      [WARNING]       msg.status().getState match {
      [WARNING]                    ^
      

      It seems that TASK_KILLING should be covered by the last case.

      Attachments

        Issue Links

          Activity

            People

              yanghua vinoyang
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: