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 D015C10816 for ; Fri, 10 Jan 2014 23:42:52 +0000 (UTC) Received: (qmail 85396 invoked by uid 500); 10 Jan 2014 23:42:52 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 85351 invoked by uid 500); 10 Jan 2014 23:42:52 -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 85106 invoked by uid 99); 10 Jan 2014 23:42:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 23:42:52 +0000 Date: Fri, 10 Jan 2014 23:42:52 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2174) VFS Classloader has potential to collide localized resources 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-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868474#comment-13868474 ] ASF subversion and git services commented on ACCUMULO-2174: ----------------------------------------------------------- Commit db56d8d21dc636e6d271ae4c710ed27196a24506 in branch refs/heads/1.5.1-SNAPSHOT from [~elserj] [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=db56d8d ] ACCUMULO-2174 Provide a better VFS tmpdir default that won't collide across processes > VFS Classloader has potential to collide localized resources > ------------------------------------------------------------ > > Key: ACCUMULO-2174 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2174 > Project: Accumulo > Issue Type: Bug > Components: start > Affects Versions: 1.5.0 > Reporter: Josh Elser > Assignee: Josh Elser > Fix For: 1.5.1, 1.6.0 > > > Looking through the VFS implementation, a single directory is used for *all* Accumulo processes on a single host for a given user. > Commons-vfs makes some attempt (adds a number to the localized resource, created from a random number between 0 and 2**16, and incremented for each updated resource) to give a "unique" resource. Rather than let this bite us later on, it's rather simple for us to just query the runtime and get the pid of the process to add into the temp directory that a process uses. > This could increase the copies of resources per host (by the number of processes), but I think the performance penalty is much better than suddenly getting someone else's jars in the middle of my process execution. -- This message was sent by Atlassian JIRA (v6.1.5#6160)