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 E8D45D581 for ; Wed, 7 Nov 2012 21:36:12 +0000 (UTC) Received: (qmail 58215 invoked by uid 500); 7 Nov 2012 21:36:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 58163 invoked by uid 500); 7 Nov 2012 21:36:12 -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 58092 invoked by uid 99); 7 Nov 2012 21:36:12 -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 21:36:12 +0000 Date: Wed, 7 Nov 2012 21:36:12 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <250132975.83434.1352324172656.JavaMail.jiratomcat@arcas> In-Reply-To: <1693577571.78310.1352251335634.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13492724#comment-13492724 ] Hudson commented on HDFS-4159: ------------------------------ Integrated in Hadoop-Hdfs-Snapshots-Branch-build #4 (See [https://builds.apache.org/job/Hadoop-Hdfs-Snapshots-Branch-build/4/]) HDFS-4159. Rename should fail when the destination directory is snapshottable and has snapshots. Contributed by Jing Zhao (Revision 1406771) Result = FAILURE szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1406771 Files : * /hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-2802.txt * /hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java * /hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestSnapshot.java > 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