[
https://issues.apache.org/jira/browse/ACCUMULO-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288182#comment-14288182
]
Keith Turner edited comment on ACCUMULO-1292 at 1/22/15 8:47 PM:
-----------------------------------------------------------------
There is a race condition in the following code
{code:java}
final VFSClassLoader cl = clRef.get();
if (cl == null || cl.getParent() != parent.getClassLoader()) {
{code}
Check done w/ old version of {{cl}} may force update unnecessarily. Also check
{{ cl.getParent() != parent.getClassLoader()}} may cause a blocking refresh,
when an older version of the classloader could be returned immediately.
was (Author: kturner):
There is a race condition in the following code
{code:java}
final VFSClassLoader cl = clRef.get();
if (cl == null || cl.getParent() != parent.getClassLoader()) {
{code}
> Tablet constructor can hang on vfs classloader, preventing tablets from
> loading
> -------------------------------------------------------------------------------
>
> Key: ACCUMULO-1292
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1292
> Project: Accumulo
> Issue Type: Bug
> Components: tserver
> Affects Versions: 1.5.0, 1.6.0, 1.6.1
> Reporter: John Vines
> Assignee: Eric Newton
> Fix For: 1.7.0, 1.6.3
>
> Attachments: ACCUMULO-1292-04.patch,
> ACCUMULO-1292-atomic-update.patch, ACCUMULO-1292-using-locks.patch,
> ACCUMULO-1292.patch
>
>
> Taken from TODO from r1424106 regarding ACCUMULO-867. This is something that
> we should at least look into more before 1.5 is released.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)