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

Configuration not visible in gui when job is running

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • Runtime / Web Frontend
    • None

    Description

      Hello.
      I can see that configuration is not visible in frontend when job is running.
      screenshot: https://issues.apache.org/jira/secure/attachment/12791527/no-configuration-when-job-running.png
      When I cancel job, configuration appears but `User configuration` is still not visible, although server sends `user-config`.
      screenshot: https://issues.apache.org/jira/secure/attachment/12791526/configuration-available-when-job-ended.png
      rest-call: http://localhost:8081/jobs/jobId/config returns

      {
          "jid": "71e47c0772c7d62b81f7e3385d429cca",
          "name": "Flink Streaming Job",
          "execution-config": {
              "execution-mode": "PIPELINED",
              "restart-strategy": "Restart with fixed delay (5000 ms). #3 restart attempts.",
              "job-parallelism": 1,
              "object-reuse-mode": false,
              "user-config": {
                  "jobmanager.web.log.path": "./data/dummyLogFile.txt",
                  "local.start-webserver": "true"
              }
          }
      }
      

      So there are two problems:
      1. User cannot see configuration when job is running which is not really useful
      I can see that it happens because of

      ExecutionConfig ec = graph.getExecutionConfig();
      if (ec != null) { ... }
      

      in JobConfigHandler. Why executionConfig is marked as "// ------ Fields that are only relevant for archived execution graphs ------------" and can it be initialized earlier let's say in ExecutionGraph constructor?

      2. Even when configuration is visible, frontent probably parses it badly
      This should be simple to fix

      I'm happy to implement both fixes if you don't mind

      Attachments

        1. configuration-available-when-job-ended.png
          32 kB
          Michał Fijołek
        2. no-configuration-when-job-running.png
          17 kB
          Michał Fijołek

        Activity

          People

            mfi Michał Fijołek
            mfi Michał Fijołek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: