You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:14:11 UTC

[jira] [Resolved] (SPARK-22859) Permission of created table and database folder are not correct

     [ https://issues.apache.org/jira/browse/SPARK-22859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-22859.
----------------------------------
    Resolution: Incomplete

> Permission of created table and database folder are not correct
> ---------------------------------------------------------------
>
>                 Key: SPARK-22859
>                 URL: https://issues.apache.org/jira/browse/SPARK-22859
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Submit
>    Affects Versions: 2.1.0
>            Reporter: Chetan Bhat
>            Priority: Major
>              Labels: bulk-closed
>
> Steps : 
> In spark Beeline user executes the following queries.
> drop database if exists test_db1 cascade;
> create database test_db1 location 'hdfs://hacluster/user/test1';
> use test_db1;
> create table if not exists ORDERS(O_ORDERDATE string,O_ORDERPRIORITY string,O_ORDERSTATUS string,O_ORDERKEY string,O_CUSTKEY string,O_TOTALPRICE double,O_CLERK string,O_SHIPPRIORITY int,O_COMMENT string) STORED BY 'org.apache.carbondata.format'TBLPROPERTIES ('table_blocksize'='128');
> User checks the permission of the created database and table in carbon store using the bin/hadoop fs -getfacl command.
> Issue : The Permission of created table and database folder are not correct. i.e
> file: /user/test1/orders
> owner: anonymous
> group: users
> user::rwx
> group::r-x
> other::r-x
> Expected : Correct permissions for the created table and database folder in carbon store should be
> file: /user/test1/orders
> owner: anonymous
> group: users
> user::rwx
> group::---
> other::---



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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