You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/08/25 21:55:46 UTC
[jira] [Resolved] (ACCUMULO-3973) ShellServerIT.addauths fails to
correctly deal with cached authorizations
[ 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)