Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26877

Support user-level app staging directory in yarn mode when spark.yarn.stagingDir specified

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 3.0.0
    • Spark Core, YARN
    • None

    Description

      Currently, when running applications on yarn mode, the app staging directory of  is controlled by `spark.yarn.stagingDir` config if specified, and this directory cannot separate different users, somtimes, it's inconvenient for file and quota management for users.

      For example, user may have different quota for their own app staging dir. and they may also not want to use the home directory as the staging dir, because it might used mainly for private user files or data. The quota may also be different between private data and the app staging dir.

      So I propose to add user sub directories under this app staging dir.

      Attachments

        Issue Links

          Activity

            People

              liupengcheng liupengcheng
              liupengcheng liupengcheng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: