spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vanzin <...@git.apache.org>
Subject [GitHub] spark issue #21398: [SPARK-24338][SQL] Fixed Hive CREATETABLE error in Sentr...
Date Fri, 08 Jun 2018 17:48:35 GMT
Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/21398
  
    I'm kinda neutral on what should happen, except maybe for filing a Sentry bug. I'll let
@cloud-fan decide whether this makes sense in Spark.
    
    For the Sentry bug, there's an easy way to reproduce this, just run the following (either
in Spark or using the old Hive CLI - not beeline nor jdbc):
    
    ```
    USE some_db;
    CREATE TABLE foo(idx int) LOCATION 'hdfs://blah.example.com/user/hive/warehouse/some_db.db/foo';
    ```
    
    Even if the user has permissions to create table on that database, Sentry will not allow
it. Works fine if you remove the explicit location.


---

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


Mime
View raw message