[
https://issues.apache.org/jira/browse/SENTRY-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16281253#comment-16281253
]
Hadoop QA commented on SENTRY-2092:
-----------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12900976/SENTRY-2092.002.patch
against master.
{color:green}Overall:{color} +1 all checks pass
{color:green}SUCCESS:{color} all tests passed
Console output:
https://builds.apache.org/job/PreCommit-SENTRY-Build/3566/console
This message is automatically generated.
> Drop Role log message shows "Creating role"
> -------------------------------------------
>
> Key: SENTRY-2092
> URL: https://issues.apache.org/jira/browse/SENTRY-2092
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: Na Li
> Assignee: Na Li
> Labels: bite-sized, newbie
> Attachments: SENTRY-2092.001.patch, SENTRY-2092.002.patch
>
>
> DefaultSentryAccessController.dropRole logs error message as "Error occurred
> when Sentry client creating role: "
> It is confusing, and could waster engineering time to debug such
> inconsistency. One example is in hive log, we see
> org.apache.hadoop.hive.ql.exec.SentryFilterDDLTask. Error occurred when
> Sentry client {color:red}creating role{color}: Role
> :{color:red}TDropSentryRoleRequest{color}(protocol_version:2,
> requestorUserName:hive, roleName:hbase_admin) doesn't exist. Server
> Stacktrace:
> org.apache.sentry.core.common.exception.SentryNoSuchObjectException: Role
> hbase_admin doesn't exist
> at
> org.apache.sentry.provider.db.service.persistent.SentryStore.noSuchRole(SentryStore.java:3695)
> at
> org.apache.sentry.provider.db.service.persistent.SentryStore.dropSentryRoleCore(SentryStore.java:1249)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)