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 CC002D0E7 for ; Wed, 7 Nov 2012 19:40:13 +0000 (UTC) Received: (qmail 19366 invoked by uid 500); 7 Nov 2012 19:40:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 19322 invoked by uid 500); 7 Nov 2012 19:40:13 -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 19312 invoked by uid 99); 7 Nov 2012 19:40:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 19:40:13 +0000 Date: Wed, 7 Nov 2012 19:40:13 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1594233741.82691.1352317213513.JavaMail.jiratomcat@arcas> In-Reply-To: <1693577571.78310.1352251335634.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (HDFS-4159) Rename should fail when the destination dir is snapshottable and has snapshots 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-4159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE resolved HDFS-4159. ------------------------------------------ Resolution: Fixed Fix Version/s: Snapshot (HDFS-2802) I have committed this. Thanks, Jing! > Rename should fail when the destination dir is snapshottable and has snapshots > ------------------------------------------------------------------------------ > > Key: HDFS-4159 > URL: https://issues.apache.org/jira/browse/HDFS-4159 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Reporter: Jing Zhao > Assignee: Jing Zhao > Fix For: Snapshot (HDFS-2802) > > Attachments: HDFS-snapshot-check-rename.patch > > > Similar with the deletion scenario, the rename operation should fail when the destination dir (currently is empty) is snapshottable and has snapshots. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira