You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Hao Hao (JIRA)" <ji...@apache.org> on 2017/04/12 23:20:41 UTC
[jira] [Updated] (SENTRY-1704)
UpdateableAuthzPaths#applyPartialUpdate does not move children path if the
authzObjects have the same name.
[ https://issues.apache.org/jira/browse/SENTRY-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hao Hao updated SENTRY-1704:
----------------------------
Description:
Similar to the issue of {{HMSPaths#renameAuthzObject}} in SENTRY-1644, when the following conditions satisfy:
{code}
newPathInfo != null && oldPathInfo != null && oldName.equals(newName);
{code}
{{applyPartialUpdate}} would only creates a parent directory, and all sub-partitions of a table will be lost in sentry. For example, a table and the correponding partitions at {{/user/hive/warehouse/db1.db/tab/{pat1,part2,par3....}} is moved to {{/tmp/db1.db}}.
was:
Similar to the issue of {{HMSPaths#renameAuthzObject}} in SENTRY-1643, when the following conditions satisfy:
{code}
newPathInfo != null && oldPathInfo != null && oldName.equals(newName);
{code}
{{applyPartialUpdate}} would only creates a parent directory, and all sub-partitions of a table will be lost in sentry. For example, a table and the correponding partitions at {{/user/hive/warehouse/db1.db/tab/{pat1,part2,par3....}} is moved to {{/tmp/db1.db}}.
> UpdateableAuthzPaths#applyPartialUpdate does not move children path if the authzObjects have the same name.
> -----------------------------------------------------------------------------------------------------------
>
> Key: SENTRY-1704
> URL: https://issues.apache.org/jira/browse/SENTRY-1704
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.7.0
> Reporter: Lei (Eddy) Xu
>
> Similar to the issue of {{HMSPaths#renameAuthzObject}} in SENTRY-1644, when the following conditions satisfy:
> {code}
> newPathInfo != null && oldPathInfo != null && oldName.equals(newName);
> {code}
> {{applyPartialUpdate}} would only creates a parent directory, and all sub-partitions of a table will be lost in sentry. For example, a table and the correponding partitions at {{/user/hive/warehouse/db1.db/tab/{pat1,part2,par3....}} is moved to {{/tmp/db1.db}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)