[ 
https://issues.apache.org/jira/browse/SENTRY-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16508474#comment-16508474
 ] 

Hadoop QA commented on SENTRY-2262:
-----------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12927317/SENTRY-2262.1.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/3872/console

This message is automatically generated.

> Sentry client is not compatible when connecting to Sentry 2.0
> -------------------------------------------------------------
>
>                 Key: SENTRY-2262
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2262
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: Sergio Peña
>            Assignee: Sergio Peña
>            Priority: Major
>         Attachments: SENTRY-2262.1.patch
>
>
> SENTRY-2162 added a new parameter 'entityName' in 
> list_sentry_privileges_by_role() to replace the 'roleName' parameter. The 
> change was propagated to the SentryPolicyServiceClientDefaultImpl to use the 
> setEntityName(), but this is causing an incompatibility when connecting to a 
> previous version of Sentry 2.0.
> The reason is that Sentry 2.0 does not accept an empty role name and it does 
> not understand what entity name. To keep this compatibility, we need to still 
> use the role name as a parameter in the client code for the rest of 2.x 
> version until the roleName is removed in a major version of Sentry.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to