Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 27129 invoked from network); 28 Aug 2010 21:39:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Aug 2010 21:39:15 -0000 Received: (qmail 31820 invoked by uid 500); 28 Aug 2010 21:39:15 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 31784 invoked by uid 500); 28 Aug 2010 21:39:14 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 31776 invoked by uid 99); 28 Aug 2010 21:39:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Aug 2010 21:39:14 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Aug 2010 21:39:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7SLcs2f016701 for ; Sat, 28 Aug 2010 21:38:54 GMT Message-ID: <26636914.53761283031534287.JavaMail.jira@thor> Date: Sat, 28 Aug 2010 17:38:54 -0400 (EDT) From: "Johannes Zillmann (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1581) DistributedCache#addXxxToClassPath() fails silently if qualified pathes are passed in In-Reply-To: <602559967.152311268131527301.JavaMail.jira@brutus.apache.org> 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/MAPREDUCE-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johannes Zillmann updated MAPREDUCE-1581: ----------------------------------------- Issue Type: Bug (was: Improvement) > DistributedCache#addXxxToClassPath() fails silently if qualified pathes are passed in > ------------------------------------------------------------------------------------- > > Key: MAPREDUCE-1581 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1581 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: distributed-cache > Reporter: Johannes Zillmann > Priority: Minor > > In both methods (addFileToClassPath & addArchiveToClassPath) you can specify a path. If this path is fully qualified (hdfs:///....) the files are not in the job classpath. > (since the : in the path is also used as path separator). > So i think with one of the following simple improvements: > - throw an exception if the specified path is fully qualified > - OR disqualify the path (f.e. with new Path(path.toUri().getPath())) > people would have an easier start with the DistributedCache! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.