Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 016D2117CA for ; Thu, 24 Jul 2014 23:47:39 +0000 (UTC) Received: (qmail 72734 invoked by uid 500); 24 Jul 2014 23:47:38 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 72671 invoked by uid 500); 24 Jul 2014 23:47:38 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 72657 invoked by uid 99); 24 Jul 2014 23:47:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2014 23:47:38 +0000 Date: Thu, 24 Jul 2014 23:47:38 +0000 (UTC) From: "Andrew Wang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-6696) Name node cannot start if the path of a file under construction contains ".snapshot" 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/HDFS-6696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-6696: ------------------------------ Resolution: Fixed Fix Version/s: 2.5.0 Status: Resolved (was: Patch Available) Committed to trunk, branch-2, branch-2.5. Thanks again Kihwal for reporting, Jing for reviewing. I did mess up the trunk commit message a bit, forgot to put the JIRA #. > Name node cannot start if the path of a file under construction contains ".snapshot" > ------------------------------------------------------------------------------------ > > Key: HDFS-6696 > URL: https://issues.apache.org/jira/browse/HDFS-6696 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Kihwal Lee > Assignee: Andrew Wang > Priority: Blocker > Fix For: 2.5.0 > > Attachments: hdfs-6696.001.patch, hdfs-6696.002.patch, hdfs-6696.003.patch > > > Using {{-renameReserved}} to rename ".snapshot" in a pre-hdfs-snapshot feature fsimage during upgrade only works, if there is nothing under construction under the renamed directory. I am not sure whether it takes care of edits containing ".snapshot" properly. > The workaround is to identify these directories and rename, then do {{saveNamespace}} before performing upgrade. -- This message was sent by Atlassian JIRA (v6.2#6252)