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

Dave Marion commented on ACCUMULO-927:
--------------------------------------

But your v1.0 class would still be loaded in the VM. I don't think there is a 
guarantee as to when classes get unloaded from the VM assuming that you have 
enabled those options. Your scenario would only work if the class was in a 
different package.

 You could however deploy the jar to a new location and set the table context 
to the new location.

Sent from my Motorola ATRIX™ 4G on AT&T

-----Original message-----
From: "Josh Elser (JIRA)" <[email protected]>
To: [email protected]
Sent: Fri, Jan 4, 2013 02:54:12 GMT+00:00
Subject: [jira] [Commented] (ACCUMULO-927) Replace HDFS VFS FileSystem objects 
with the ones from Commons VFS


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

Josh Elser commented on ACCUMULO-927:
-------------------------------------

What about a case in which I have my-code-1.0.jar deployed. I then find a 
problem in my code, cut a new version and deploy my-code-1.1.jar. Say in 
version 1.1, I have a class in which I added a new method that did not exist in 
1.0. Wouldn't I have undefined behavior (my class in 1.0 or 1.1 could be used 
by Accumulo) if the 1.0 classes aren't removed completely?

bq. I don't think it will be common that folks delete jars from HDFS without 
restarting Accumulo as the classes that are loaded from that jar will still be 
resident in the VM.
                


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

                
> Replace HDFS VFS FileSystem objects with the ones from Commons VFS
> ------------------------------------------------------------------
>
>                 Key: ACCUMULO-927
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-927
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: start
>            Reporter: Dave Marion
>            Assignee: Dave Marion
>             Fix For: 1.5.0
>
>         Attachments: ACCUMULO-927-1.patch
>
>


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