[
https://issues.apache.org/jira/browse/ACCUMULO-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13887149#comment-13887149
]
ASF subversion and git services commented on ACCUMULO-2293:
-----------------------------------------------------------
Commit 5fe2cccaf2266e3f8d2d8ebcb4d2fafb0e24e181 in branch
refs/heads/1.6.0-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)