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

Report correct progress to yarn resource manager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 1.11.2
    • None
    • Deployment / YARN
    • None

    Description

      Currently, we directly report 1 to yarn resource manager. It doesn't make sense for both stream and batch job. For a stream job, it's better to report 0, and for a batch job, it's better to report a meaningful progress. A simple way is calculating totalSubtask and currentFinishedSubTask in scheduler, and return (float)currentFinishedSubTask.get()/totalSubTask in YarnResourceManager.getProgress()

      Attachments

        Activity

          People

            Unassigned Unassigned
            faaronzheng fa zheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: