07-04-2016 01:52 AM - edited 07-04-2016 01:57 AM
during insert overwrite partition Impala rewrites the entire directory and changes the default permissions and mask for the HDFS directory. The group right of the parent directory (table) is RWX and the partition directory is RWX. After the rewrite the permissions changes on the partition directory to R-X.
Is there any way to configure Impala to use:
1. pre-defined permissions (tell Impala to create always rwx rwx --- )
2. or to inherit the PARENT directory permissions?
PS> The same insert in Hive honors the permissions of the parent,and copies the default rights and ACLs.
07-04-2016 03:47 AM
Thanks for the hint, but I dont think it will work because I am doing insert overwrite partition and not insert into:
But I will try it today, and let you know,
05-09-2017 08:54 AM
You set it via cloudera manager, Impala Daemon Command Line Argument Advanced Configuration Snippet (Safety Valve).
But it will not work if you issue insert overwrite.