accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-246) Improve scan authorizations behavior
Date Mon, 06 Aug 2012 16:59:02 GMT

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

Keith Turner commented on ACCUMULO-246:
---------------------------------------

bq. Correction - I am proposing four levels for unauthorized scan: SILENT, WARN, ERROR, LOCK.

That interesting, and very different from what I was thinking.  Those four level imply a table
level configuration, which implies a user having permission to set that configuration.

I was thinking of a scanner configuration that a user could set to either silently intersect
or error.  It would default to the current behavior or erroring.
                
> 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
>             Fix For: 1.5.0
>
>
> 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

        

Mime
View raw message