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

Stop with savepoint should pick up the targetDirectory from Flink configuration

    XMLWordPrintableJSON

Details

    Description

      Upgrading stateless FlinkDeployment to savepoint still could not work. Because FlinkService#cancelJob does not pick up the target directory in the flink configuration.

       

      case SAVEPOINT:
          String savepoint =
                  clusterClient
                          .stopWithSavepoint(jobID, false, null)
                          .get(1, TimeUnit.MINUTES); 

      We should use configured savepoint directory instead of null in the above implementation.

      Attachments

        Issue Links

          Activity

            People

              wangyang0918 Yang Wang
              wangyang0918 Yang Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: