You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mihaly Toth (Jira)" <ji...@apache.org> on 2019/09/13 20:26:00 UTC

[jira] [Created] (SPARK-29078) Spark shell fails if read permission is not granted to hive warehouse directory

Mihaly Toth created SPARK-29078:
-----------------------------------

             Summary: Spark shell fails if read permission is not granted to hive warehouse directory
                 Key: SPARK-29078
                 URL: https://issues.apache.org/jira/browse/SPARK-29078
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Mihaly Toth


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.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org