trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertamarton <>
Subject [GitHub] incubator-trafodion pull request: TRAFODION [1895] - Unable to gra...
Date Fri, 18 Mar 2016 17:42:07 GMT
GitHub user robertamarton opened a pull request:

    TRAFODION [1895] - Unable to grant and revoke privileges on native hive tables

    There are actually two issues:
    1 - when an external table is created, the wrong role is assigned ownership 
        which makes it impossible to grant privileges.
    2 - Query invalidation is not removing external tables from caches after revoke
        completes; therefore, the user/role still has permissions until a restart
    Also, added code to initialize authorization to set hive schema ownerships and
    dependent objects to DB__HIVEROLE.  This fixes the issue of ownership. For
    existing installations that has authorization enabled, run initialize 
    authorization again. This acts as an upgrade and will fix the owner issue.
    Removed, and from T2 driver code - these
    are obsolete and their removal fixes a licensing issue.  T4 driver code is
    not touched since it still uses these files.

You can merge this pull request into a Git repository by running:

    $ git pull fix-1895

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #396


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message