Permission Inheritance in Hive

This document describes how attributes (permission, group, extended ACL's) of files representing Hive data are determined.

HDFS Background

Goals

To reduce need to set fine-grain file security props after every operation, users may want the following Hive warehouse file/dir to auto-inherit security properties from their directory parents:

What is inherited:

Behavior

Version Information

Most of this functionality was added as of Hive 0.14.  

See umbrella JIRA HIVE-6892  for details.

hive.warehouse.subdir.inherit.perms was removed in Hive 3.0.0. The feature is no longer needed in Hive as the traditional permission model has largely been replaced by external security systems such as Ranger and Sentry. A user may choose SQLStdAuth which ships with Hive if user doesn't want to use an external security system.

首页