accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2293) AccumuloSecurityException might be thrown instead of TableNotFoundException on flush or clone
Date Thu, 30 Jan 2014 22:02:14 GMT

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

ASF subversion and git services commented on ACCUMULO-2293:
-----------------------------------------------------------

Commit 5fe2cccaf2266e3f8d2d8ebcb4d2fafb0e24e181 in branch refs/heads/1.5.1-SNAPSHOT from [~elserj]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=5fe2ccc ]

ACCUMULO-2293 Check the correct SecurityErrorCode on ThriftSecurityException in the _flush
method


> AccumuloSecurityException might be thrown instead of TableNotFoundException on flush
or clone
> ---------------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-2293
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2293
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.5.0
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.5.1
>
>
> When examining findbugs, I found that in the face of a {{ThriftSecurityException}} on
{{TableOperationsImpl._flush}}, we check against the wrong {{SecurityErrorCode}} and would
incorrectly throw an {{AccumuloSecurityException}} instead of a {{TableNotFoundException}}
when the {{ThriftSecurityException}} contains a {{SecurityErrorCode.TABLE_DOESNT_EXIST}}.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message