Return-Path: Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: (qmail 73461 invoked from network); 9 Mar 2010 10:46:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Mar 2010 10:46:17 -0000 Received: (qmail 87805 invoked by uid 500); 9 Mar 2010 10:45:51 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 87649 invoked by uid 500); 9 Mar 2010 10:45:50 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 87641 invoked by uid 99); 9 Mar 2010 10:45:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Mar 2010 10:45:50 +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; Tue, 09 Mar 2010 10:45:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 45495234C4AE for ; Tue, 9 Mar 2010 10:45:27 +0000 (UTC) Message-ID: <552064850.152301268131527282.JavaMail.jira@brutus.apache.org> Date: Tue, 9 Mar 2010 10:45:27 +0000 (UTC) From: "Johannes Zillmann (JIRA)" To: mapreduce-dev@hadoop.apache.org Subject: [jira] Created: (MAPREDUCE-1581) DistributedCache#addXxxToClassPath() fails silently if qualified pathes are passed in 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 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: Improvement 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.