Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D82A109AE for ; Thu, 22 Jan 2015 20:48:36 +0000 (UTC) Received: (qmail 59426 invoked by uid 500); 22 Jan 2015 20:48:35 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 59388 invoked by uid 500); 22 Jan 2015 20:48:35 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 59370 invoked by uid 99); 22 Jan 2015 20:48:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2015 20:48:35 +0000 Date: Thu, 22 Jan 2015 20:48:35 +0000 (UTC) From: "Keith Turner (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (ACCUMULO-1292) Tablet constructor can hang on vfs classloader, preventing tablets from loading MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)