Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 C4B4910C22 for ; Thu, 3 Oct 2013 20:54:53 +0000 (UTC) Received: (qmail 25776 invoked by uid 500); 3 Oct 2013 20:54:50 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 25688 invoked by uid 500); 3 Oct 2013 20:54:50 -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 24941 invoked by uid 99); 3 Oct 2013 20:54:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Oct 2013 20:54:47 +0000 Date: Thu, 3 Oct 2013 20:54:47 +0000 (UTC) From: "Omkar Vinit Joshi (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-5558) Scheme for local file is lost when submitting mapreduce job using mapreduce API 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-5558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Omkar Vinit Joshi updated MAPREDUCE-5558: ----------------------------------------- Affects Version/s: 2.1.0-beta 2.1.1-beta > Scheme for local file is lost when submitting mapreduce job using mapreduce API > ------------------------------------------------------------------------------- > > Key: MAPREDUCE-5558 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5558 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 2.1.0-beta, 2.1.1-beta, 2.1.2-beta > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Critical > Attachments: mapreduce-5558.patch > > > HBase snapshot export adds dependent jars (local files) through "tmpjars" config entry. > When debugging HBASE-9687, we found that scheme for local file (file:/) is lost by DistributedCache.addFileToClassPath() call in JobSubmitter. > The root cause of this problem is that we are somehow losing "file:/" from the uri. In the earlier code we were creating new Path object (new Path (newPath.toUri().getPath()) ) where as part of newPath.toUri().getPath() call we are losing the authority and scheme which are passed in. > Thanks to Omkar who helped debug this issue -- This message was sent by Atlassian JIRA (v6.1#6144)