You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "John Vines (Commented) (JIRA)" <ji...@apache.org> on 2012/01/05 20:12:39 UTC

[jira] [Commented] (ACCUMULO-246) Improve scan authorizations behavior

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

John Vines commented on ACCUMULO-246:
-------------------------------------

I think a flag is preferred, with a default behavior to error on bad intersection.
                
> Improve scan authorizations behavior
> ------------------------------------
>
>                 Key: ACCUMULO-246
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-246
>             Project: Accumulo
>          Issue Type: Task
>          Components: client
>            Reporter: Billie Rinaldi
>              Labels: authorization, scan
>
> When a user creates a scanner a set of Authorizations is passed.  If the authorizations passed to the scanner are not a subset of the user's authorizations, then an exception is thrown.  An alternative would be to intersect the set of scan authorizations with the user's authorizations.  Many users have had trouble understanding the "silent intersection" behavior, which resulted in switching to throwing an Exception.  However, in situations where the user's authorizations are lazily updated, and for very long running scans, intersection would be preferable.  Possible fixes are 1) adding a flag to indicate whether to intersect or throw an exception or 2) making it easier for the user to perform the intersection manually (which would fix some issues, but not the long-running scans).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira