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

Make the FLINK_YARN_FILES value configurable

    XMLWordPrintableJSON

Details

    Description

      When the application is deployed to YARN, the file of the application will be uploaded to the directory returned by

      AbstractYarnClusterDescriptor#getYarnFilesDir(ApplicationId) 

      method. When the same user name is used to submit applications to different clusters, it may cause directory name conflicts(because different YARN clusters may generate the same applicationId). In addition, when the application is directly killed by the user, the corresponding directory will continue to exist and occupy disk space, and the judgment conditions for cleaning such invalid directories are complex. Therefore, it is hoped that a configuration option can be added to support each application to dynamically specify the directory where its files are located during deployment.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              opencoder opencoder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: