Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 38094 invoked from network); 10 Jun 2008 21:28:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jun 2008 21:28:07 -0000 Received: (qmail 1042 invoked by uid 500); 10 Jun 2008 21:28:08 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 1023 invoked by uid 500); 10 Jun 2008 21:28:08 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 1012 invoked by uid 99); 10 Jun 2008 21:28:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 14:28:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 21:27:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F0160234C139 for ; Tue, 10 Jun 2008 14:27:44 -0700 (PDT) Message-ID: <999522879.1213133264982.JavaMail.jira@brutus> Date: Tue, 10 Jun 2008 14:27:44 -0700 (PDT) From: "Michael Bieniosek (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-3529) dfs "Rename failed" doesn't give reason if source doesn't exist MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org dfs "Rename failed" doesn't give reason if source doesn't exist --------------------------------------------------------------- Key: HADOOP-3529 URL: https://issues.apache.org/jira/browse/HADOOP-3529 Project: Hadoop Core Issue Type: Bug Affects Versions: 0.16.3 Reporter: Michael Bieniosek If I run hadoop fs -mv /no/such/file /blah I get the error: mv: Rename failed /no/such/file But in the namenode log, it says 2008-06-10 21:17:37,883 WARN org.apache.hadoop.dfs.StateChange: DIR* FSDirectory.unprotectedRenameTo: failed to rename /no/such/file to /blah because source does not exist It would be nice if the fs shell also gave the informative error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.