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

Josh Elser commented on ACCUMULO-708:
-------------------------------------

bq. Moving forward on this we need to start thinking about having a table prop 
for configuring per table classloaders.

I was thinking more along the lines that a (Batch)Scanner could actually be 
tied to a ClassLoader. I could potentially have one table in which some 
standard query iterators are used for scanning, but I also want to allow other 
developers to load/use their own code to scan that same table without messing 
up my production query code. That most certainly complicates things, but 
perhaps there is an elegant way around not that without mucking with the 
existing API too much.

You still need some default ClassLoader like you pointed out, Keith, which 
provides the accumulo-core and hadoop-core dependencies. Looking back at the 
older comments, perhaps tying ClassLoaders to authenticated users would be 
easiest? I'd have to defer to Keith's larger understanding of the code as well.

Dave, I still owe you a look at the code/integration more in-depth; I didn't 
get far past the test cases running successfully.
                
> Modify ClassLoader to support different applications / multi-tenancy
> --------------------------------------------------------------------
>
>                 Key: ACCUMULO-708
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-708
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: start
>            Reporter: Dave Marion
>            Assignee: Dave Marion
>              Labels: classloader
>             Fix For: 1.5.0
>
>         Attachments: ACCUMULO-708-1.patch
>
>   Original Estimate: 24h
>          Time Spent: 33h
>  Remaining Estimate: 0h
>
> I'd like to expand the current classloader to support loading classes from 
> HDFS and different application contexts. I'll be modifying the ticket as the 
> idea matures.

--
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

Reply via email to