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

Add ShutdownHook to YARN CLI to prevent lingering sessions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 1.0.0
    • Deployment / YARN
    • None

    Description

      Submitting a job via

      bin/flink run -m yarn-cluster ...
      

      and terminating the client can lead to lingering YARN sessions allocating cluster resources.

      This was reported by a user.

      1) One starts a flink job in the yarn mode
      2) He sees that containers are not allocated since cluster is busy
      3) Presses Ctrl+C
      4) An “empty” flink session remains in the cluster although the Flink didn’t print that “you can track your application on the X URL”
      

      Attachments

        Activity

          People

            sachingoel0101 Sachin Goel
            uce Ufuk Celebi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: