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

Misleading logging in Execution for failed state trannsitions

    XMLWordPrintableJSON

Details

    Description

      String.format(
          "Concurrent unexpected state transition of task %s to %s while deployment was in progress.",
           getVertexWithAttempt(), currentState);
      

      to is not the target state.

      This whole line needs improvements; log the current, expected and target state. Additionally I'd suggest to log the attempt ID which is much easier to correlate with other messages (like what the TM actually submits).

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: