Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 9135 invoked from network); 13 Mar 2008 21:34:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2008 21:34:00 -0000 Received: (qmail 73954 invoked by uid 500); 13 Mar 2008 21:33:55 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 73928 invoked by uid 500); 13 Mar 2008 21:33:55 -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 73919 invoked by uid 99); 13 Mar 2008 21:33:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2008 14:33:55 -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; Thu, 13 Mar 2008 21:33:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5D224234C099 for ; Thu, 13 Mar 2008 14:32:24 -0700 (PDT) Message-ID: <531985144.1205443944378.JavaMail.jira@brutus> Date: Thu, 13 Mar 2008 14:32:24 -0700 (PDT) From: "Mahadev konar (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3012) dfs -mv file to user home directory fails silently if the user home directory does not exist In-Reply-To: <537891611.1205439264412.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578497#action_12578497 ] Mahadev konar commented on HADOOP-3012: --------------------------------------- alos looks like dfs -mv file /absolutepathtodir does not work.... > dfs -mv file to user home directory fails silently if the user home directory does not exist > -------------------------------------------------------------------------------------------- > > Key: HADOOP-3012 > URL: https://issues.apache.org/jira/browse/HADOOP-3012 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Affects Versions: 0.17.0 > Reporter: Mukund Madhugiri > Assignee: Robert Chansler > Priority: Blocker > Fix For: 0.17.0 > > > dfs -mv file to user home directory fails silently if the user home directory does not exist. This was working before. It will move the file if the user home directory exists. > Here is the sequence: > 1. bin/hadoop dfs -lsr / > /file1 0 2008-03-13 19:54 rw-r--r-- hadoopqa supergroup > 2. bin/hadoop dfs -mv /file1 file2 > 3. bin/hadoop dfs -lsr / > /file1 0 2008-03-13 19:54 rw-r--r-- hadoopqa supergroup > 4. hadoop dfs -lsr / > /file1 0 2008-03-13 19:54 rw-r--r-- hadoopqa supergroup > /user 2008-03-13 20:07 rwxr-xr-x hadoopqa supergroup > /user/hadoopqa 2008-03-13 20:07 rwxr-xr-x hadoopqa supergroup > /user/hadoopqa/file0 0 2008-03-13 20:07 rw-r--r-- hadoopqa supergroup > 5. bin/hadoop dfs -mv /file1 file2 > 6. bin/hadoop dfs -lsr / > /user 2008-03-13 20:07 rwxr-xr-x hadoopqa supergroup > /user/hadoopqa 2008-03-13 20:08 rwxr-xr-x hadoopqa supergroup > /user/hadoopqa/file0 0 2008-03-13 20:07 rw-r--r-- hadoopqa supergroup > /user/hadoopqa/file2 0 2008-03-13 19:54 rw-r--r-- hadoopqa supergroup > In step #2, it fails to move the file. > In step #5, it moves the file as /user/hadoopqa directory exists. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.