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

Possible NPE in ApplicationDispatcherBootstrap with failedJob submission and no HA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.16.0, 1.17.0, 1.15.3
    • None
    • None

    Description

      If

      • PipelineOptionsInternal.PIPELINE_FIXED_JOB_ID is not set, and
      • high availabibility is not activated, and
      • DeploymentOptions.SUBMIT_FAILED_JOB_ON_APPLICATION_ERROR is set,
        then a failure in job submission may fail with an NPE since the appropriate code in ApplicationDispatcherBootstrap#runApplicationEntryPoint() is trying to read the failedJobId from the configuration where it will not be present in these cases.

      Please refer to the conditions that set the jobId in ApplicationDispatcherBootstrap.fixJobIdAndRunApplicationAsync().

      Attachments

        Activity

          People

            Unassigned Unassigned
            nkruber Nico Kruber
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: