Ashutosh Bapat created HIVE-22559: ------------------------------------- Summary: Maintain ownership of parent directories of an external table directory after replication Key: HIVE-22559 URL: https://issues.apache.org/jira/browse/HIVE-22559 Project: Hive Issue Type: Improvement Reporter: Ashutosh Bapat Assignee: Anishek Agarwal
For replicating an external table we specify a base directory on the target (say /base_ext for example). The path of an external table directory on the source (say /xyz/abc/ext_t1) is prefixed with the base directory on the target (/base_ext in our example) when replicating the external table data. Thus the path of the external table on the target becomes /base_ext/xyz/abc/ext_t1. In this path only the ownership permissions of ext_t1 directory is preserved but the owenship of xyz and abc directories is set to the user executing REPL LOAD. Instead we should preserve the ownership of xyz and abc as well. -- This message was sent by Atlassian Jira (v8.3.4#803005)