You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/10/19 17:30:00 UTC

[jira] [Commented] (PHOENIX-6555) Wait for permissions to sync in Permission tests

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

ASF GitHub Bot commented on PHOENIX-6555:
-----------------------------------------

stoty opened a new pull request #1335:
URL: https://github.com/apache/phoenix/pull/1335


   This copies and used the permission sync code from the HBase tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Wait for permissions to sync in Permission tests
> ------------------------------------------------
>
>                 Key: PHOENIX-6555
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6555
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> We should do something better than adding retries whenever see another failure.
> From [~andrew.purtell@gmail.com] on a mailing list thread:
> {quote}In the HBase security unit tests we wait for the zk mediated cache reload to complete before continuing the test. If you don’t do that your test will be flaky. Check that you are doing this. {quote}
> {noformat}
> java.lang.reflect.UndeclaredThrowableException
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1747)
> 	at org.apache.hadoop.hbase.security.User$SecureHadoopUser.runAs(User.java:347)
> 	at org.apache.phoenix.end2end.BasePermissionsIT.verifyAllowed(BasePermissionsIT.java:787)
> 	at org.apache.phoenix.end2end.BasePermissionsIT.verifyAllowed(BasePermissionsIT.java:780)
> 	at org.apache.phoenix.end2end.BasePermissionsIT.lambda$testAutomaticGrantWithIndexAndView$5(BasePermissionsIT.java:1412)
> 	at org.apache.phoenix.end2end.BasePermissionsIT.retryVerifyOperation(BasePermissionsIT.java:1035)
> 	at org.apache.phoenix.end2end.BasePermissionsIT.testAutomaticGrantWithIndexAndView(BasePermissionsIT.java:1411)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)