[
https://issues.apache.org/jira/browse/HIVE-5214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thiruvel Thirumoolan updated HIVE-5214:
---------------------------------------
Description:
When dynamic partitions are created or insert overwrite without partitions, the
files/partition-dirs don't inherit the group name.
The query (say, insert overwrite table select *) uses the scratch directory for
creating the temporary data. The temporary data's perm/group is inherited from
scratch directory. Finally, the MoveTask does a rename of the temporary
dir/files to be the target directory and an explicit group/perm change does not
happen.
HIVE-3756 fixed it for Load data, dynamic partitions/inserts have to be handled.
was:
When dynamic partitions are created, the files/partitions don't inherit the
group name.
The query (say, insert overwrite table select *) uses the scratch directory for
creating the temporary data. The temporary data's perm/group is inherited from
scratch directory. Finally, the MoveTask does a rename of the temporary dir to
be the target partition directory and an explicit group/perm change does not
happen.
HIVE-3756 fixed it for Load data, dynamic partitions has to be handled.
Summary: Dynamic partitions/insert overwrite don't inherit groupname
from table's directory (was: Dynamic partitions don't inherit groupname from
table's directory)
> Dynamic partitions/insert overwrite don't inherit groupname from table's
> directory
> ----------------------------------------------------------------------------------
>
> Key: HIVE-5214
> URL: https://issues.apache.org/jira/browse/HIVE-5214
> Project: Hive
> Issue Type: Bug
> Components: Authorization, Security
> Affects Versions: 0.12.0
> Reporter: Thiruvel Thirumoolan
>
> When dynamic partitions are created or insert overwrite without partitions,
> the files/partition-dirs don't inherit the group name.
> The query (say, insert overwrite table select *) uses the scratch directory
> for creating the temporary data. The temporary data's perm/group is inherited
> from scratch directory. Finally, the MoveTask does a rename of the temporary
> dir/files to be the target directory and an explicit group/perm change does
> not happen.
> HIVE-3756 fixed it for Load data, dynamic partitions/inserts have to be
> handled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira