Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 11023 invoked from network); 20 Mar 2008 17:19:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2008 17:19:24 -0000 Received: (qmail 31596 invoked by uid 500); 20 Mar 2008 17:19:20 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 31487 invoked by uid 500); 20 Mar 2008 17:19:20 -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 31478 invoked by uid 99); 20 Mar 2008 17:19:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 10:19:20 -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, 20 Mar 2008 17:18:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2EE1E234C0B1 for ; Thu, 20 Mar 2008 10:17:27 -0700 (PDT) Message-ID: <203689320.1206033447190.JavaMail.jira@brutus> Date: Thu, 20 Mar 2008 10:17:27 -0700 (PDT) From: "dhruba borthakur (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (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:all-tabpanel ] dhruba borthakur updated HADOOP-3012: ------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) I just committed this. Thanks Mahadev! > 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: Mahadev konar > Priority: Blocker > Fix For: 0.17.0 > > Attachments: HADOOP-3012_1.patch > > > 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.