Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 94614 invoked from network); 21 Mar 2008 12:21:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2008 12:21:48 -0000 Received: (qmail 11050 invoked by uid 500); 21 Mar 2008 12:21:43 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 11022 invoked by uid 500); 21 Mar 2008 12:21:43 -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 11007 invoked by uid 99); 21 Mar 2008 12:21:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 05:21:43 -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; Fri, 21 Mar 2008 12:21:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B64FC234C0BF for ; Fri, 21 Mar 2008 05:19:30 -0700 (PDT) Message-ID: <1529251375.1206101970745.JavaMail.jira@brutus> Date: Fri, 21 Mar 2008 05:19:30 -0700 (PDT) From: "Hudson (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=12581069#action_12581069 ] Hudson commented on HADOOP-3012: -------------------------------- Integrated in Hadoop-trunk #435 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/435/]) > 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.