Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 3011 invoked from network); 18 Feb 2010 23:43:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2010 23:43:49 -0000 Received: (qmail 93579 invoked by uid 500); 18 Feb 2010 23:43:48 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 93530 invoked by uid 500); 18 Feb 2010 23:43:48 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 93520 invoked by uid 99); 18 Feb 2010 23:43:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 23:43:48 +0000 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, 18 Feb 2010 23:43:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E78A529A0017 for ; Thu, 18 Feb 2010 15:43:27 -0800 (PST) Message-ID: <519530355.373491266536607947.JavaMail.jira@brutus.apache.org> Date: Thu, 18 Feb 2010 23:43:27 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6558) archive does not work with distcp -update 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/HADOOP-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835501#action_12835501 ] Hudson commented on HADOOP-6558: -------------------------------- Integrated in Hadoop-Common-trunk-Commit #175 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/175/]) . Return null in HarFileSystem.getFileChecksum(..) since no checksum algorithm is implemented. > archive does not work with distcp -update > ----------------------------------------- > > Key: HADOOP-6558 > URL: https://issues.apache.org/jira/browse/HADOOP-6558 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.22.0 > > Attachments: c6558_20100216.patch, c6558_20100216b.patch, c6558_20100216b_y0.20.patch > > > The following distcp command works. > {noformat} > hadoop distcp -Dmapred.job.queue.name=q har://hdfs-nn_hostname:8020/user/tsz/t101.har/t101 t101_distcp > {noformat} > However, it does not work for -update. > {noformat} > -bash-3.1$ hadoop distcp -Dmapred.job.queue.name=q -update har://hdfs-nn_hostname:8020/user/tsz/t101.har/t101 t101_distcp > 10/01/29 20:06:53 INFO tools.DistCp: srcPaths=[har://hdfs-nn_hostname:8020/user/tsz/t101.har/t101] > 10/01/29 20:06:53 INFO tools.DistCp: destPath=t101 > java.lang.IllegalArgumentException: Wrong FS: har://hdfs-nn_hostname:8020/user/tsz/t101.har/t101/text-00000000, expected: hdfs://nn_hostname > at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310) > at org.apache.hadoop.hdfs.DistributedFileSystem.checkPath(DistributedFileSystem.java:99) > at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:155) > at org.apache.hadoop.hdfs.DistributedFileSystem.getFileChecksum(DistributedFileSystem.java:463) > at org.apache.hadoop.hdfs.DistributedFileSystem.getFileChecksum(DistributedFileSystem.java:46) > at org.apache.hadoop.fs.FilterFileSystem.getFileChecksum(FilterFileSystem.java:250) > at org.apache.hadoop.tools.DistCp.sameFile(DistCp.java:1204) > at org.apache.hadoop.tools.DistCp.setup(DistCp.java:1084) > ... > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.