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

Spark Submit does not use Proxy User Credentials to Resolve Path for Resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.4.0, 2.4.1, 2.4.2, 2.4.3
    • None
    • Spark Core
    • None
    • Patch

    Description

      Starting in as of SPARK-21012, spark-submit supports wildcard paths (ex: hdfs:///user/akmodi/*). To support these, spark-submit does a glob resolution on these paths and overwrites the wildcard paths with the resolved paths. This introduced a bug -  the change did not use proxy-user credentials when resolving these paths. As a result, Spark 2.2 and later apps fail to launch an app as a proxy-user if the paths are only readable by the proxy-user.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              akmodi Abhishek Modi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: