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

Spark shell fails if read permission is not granted to hive warehouse directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 3.0.0
    • None
    • SQL
    • None

    Description

      Similarly to SPARK-20256, in SharedSessionState when GlobalTempViewManager is created, it is checked that there is no database exists that has the same name as of the global temp database (name is configurable with spark.sql.globalTempDatabase) , because that is a special database, which should not exist in the metastore. For this, a read permission is required on the warehouse directory at the moment, which on the other hand would allow listing all the databases of all users.

      When such a read access is not granted for security reasons, an access violation exception should be ignored upon such initial validation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            misutoth Mihaly Toth
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: