Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 380B59E22 for ; Tue, 1 May 2012 21:15:11 +0000 (UTC) Received: (qmail 78610 invoked by uid 500); 1 May 2012 21:15:10 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 78512 invoked by uid 500); 1 May 2012 21:15:10 -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 78294 invoked by uid 99); 1 May 2012 21:15:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2012 21:15:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2012 21:15:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9D33042A7BA for ; Tue, 1 May 2012 21:14:49 +0000 (UTC) Date: Tue, 1 May 2012 21:14:49 +0000 (UTC) From: "Dave Thompson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <160810956.14786.1335906889645.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <520055143.4261.1335559011739.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-8327) distcpv2 and distcpv1 jars should not coexist MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-8327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Thompson updated HADOOP-8327: ---------------------------------- Tags: distcp distcpv1 distcpv2 classpath Target Version/s: 0.23.3 Release Note: Resolve sporadic distcp issue due to having two DistCp classes (v1 & v2) in the classpath. Status: Patch Available (was: Open) > distcpv2 and distcpv1 jars should not coexist > --------------------------------------------- > > Key: HADOOP-8327 > URL: https://issues.apache.org/jira/browse/HADOOP-8327 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.23.2 > Reporter: Dave Thompson > Assignee: Dave Thompson > Attachments: HADOOP-8327-branch-0.23.2.patch > > > Distcp v2 (hadoop-tools/hadoop-distcp/...) and Distcp v1 (hadoop-tools/hadoop-extras/...) are currently both built, and the resulting hadoop-distcp-x.jar and hadoop-extras-x.jar end up in the same class path directory. This causes some undeterministic problems, where v1 is launched when v2 is intended, or even v2 is launched, but may later fail on various nodes because of mismatch with v1. > According to > http://docs.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html ("Understanding class path wildcards") > "The order in which the JAR files in a directory are enumerated in the expanded class path is not specified and may vary from platform to platform and even from moment to moment on the same machine." > Suggest distcpv1 be deprecated at this point, possibly by discontinuing build of distcpv1. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira