accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Klucar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1188) Sandbox iterators
Date Thu, 16 May 2013 17:53:16 GMT

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

Jim Klucar commented on ACCUMULO-1188:
--------------------------------------

I have been looking at how to do this using an OSGi container to execute user loaded iterators.
If you would embed an OSGi container like Apache Felix ( http://felix.apache.org/ ) it would
allow the tserver to execute the code in a more controlled manner. If an iterator hung or
threw exceptions, it could easily be destroyed or recreated if it were inside the OSGi container.
Also the container approach would allow iterators to have independent dependencies.  I'd be
willing to write an OSGi iterator and try to embed Felix, but I'd like some guidance as to
where to insert it in the tserver code.
                
> Sandbox iterators
> -----------------
>
>                 Key: ACCUMULO-1188
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1188
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Keith Turner
>             Fix For: 1.6.0
>
>
> It's possible that a user iterator can bring down a tablet server.  For example if it
has an OOM or creates too many threads.  It would be nice if iterators could be sandboxed
in some way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message