accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-3973) ShellServerIT.addauths fails to correctly deal with cached authorizations
Date Tue, 25 Aug 2015 19:55:46 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-3973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser resolved ACCUMULO-3973.
----------------------------------
    Resolution: Fixed

> ShellServerIT.addauths fails to correctly deal with cached authorizations
> -------------------------------------------------------------------------
>
>                 Key: ACCUMULO-3973
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3973
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: 1.6.4, 1.7.1, 1.8.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Saw a test failure of ShellServerIT.addauths against 1.7.0 with the minicluster running
with Kerberos in which the {{getauths}} command didn't contain the expected authorizations
which were just added.
> The server-side getauths implementation returns the authorization for a user from ZooCache
which means the client may not get a consistent view of the value. The test tries to work
around this, retrying when an incorrect value is noticed after sleeping for a short time.
> The problem is that the catch block catches Exception while the test code throws AssertionError
which isn't an Exception (but an Error). As such, the retry logic fails and the test will
fail if the server doesn't see the cache update soon enough.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message