hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Helmling <ghelml...@gmail.com>
Subject Re: Build failed in Jenkins: HBase-TRUNK #3360
Date Thu, 20 Sep 2012 23:04:19 GMT
Created https://issues.apache.org/jira/browse/HBASE-6851


On Thu, Sep 20, 2012 at 6:54 PM, Stack <stack@duboce.net> wrote:
> On Thu, Sep 20, 2012 at 3:49 PM, Gary Helmling <ghelmling@gmail.com> wrote:
>> I ran TestAccessController locally in a loop 100 times without being
>> able to reproduce the failure.  Unfortunately surefire did not capture
>> an output log from the test, maybe because it failed in the
>> @BeforeClass setup method?  What's weird is that, looking at the code,
>> the first grant() operation succeeded.  Only the second failed with an
>> AccessDeniedException.
>>
>> Looking at TableAuthManager.refreshCacheFromWritable() and
>> TableAuthManager.updateGlobalCache(), it looks like we do have a race
>> condition, where the global caches are initially cleared and then
>> rebuilt, so any authorization checks that come in in the interim will
>> fail.
>>
>
> Thanks for taking a look (I won't bother saying what you know I was
> going to say next)
>
> St.Ack

Mime
View raw message