You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Lei (Eddy) Xu (JIRA)" <ji...@apache.org> on 2017/04/12 23:12:41 UTC

[jira] [Created] (SENTRY-1704) UpdateableAuthzPaths#applyPartialUpdate does not move children path if the authzObjects have the same name.

Lei (Eddy) Xu created SENTRY-1704:
-------------------------------------

             Summary: 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-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}}.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)