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 8CD1A11D3B for ; Tue, 22 Jul 2014 17:20:39 +0000 (UTC) Received: (qmail 13205 invoked by uid 500); 22 Jul 2014 17:20:39 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 13170 invoked by uid 500); 22 Jul 2014 17:20:39 -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 13159 invoked by uid 99); 22 Jul 2014 17:20:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 17:20:39 +0000 Date: Tue, 22 Jul 2014 17:20:39 +0000 (UTC) From: "Dave Marion (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-3006) Don't allow viewfs in instance.volumes 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-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070544#comment-14070544 ] Dave Marion commented on ACCUMULO-3006: --------------------------------------- In this case it is not entirely transparent to the application, see: SimpleGarbageCollector.moveToTrash() and VolumeManagerImpl.moveToTrash(). The trash policy is set for the underlying HDFS instances, but there is no mapping in the viewfs definition for /user. If there was a viewfs definition for /user, it would fail anyway in the case where you are trying to put a file from one nameservice into the trash directory that is mounted from a different nameservice (this would equate to a file move across nameservices). > Don't allow viewfs in instance.volumes > -------------------------------------- > > Key: ACCUMULO-3006 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3006 > Project: Accumulo > Issue Type: Bug > Affects Versions: 1.6.0 > Reporter: Dave Marion > Priority: Blocker > Fix For: 1.6.1, 1.7.0 > > > I think one of our folks put viewfs into instance.volumes on accident. File references in accumulo.root and accumulo.metadata were then written with viewfs in the path. The garbage collector then throws errors as compactions occur and it tries delete and move the files to the hdfs users trash directory. > viewfs should never be allowed in instance.volumes property. It should fail. -- This message was sent by Atlassian JIRA (v6.2#6252)