Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4518810CD4 for ; Fri, 30 Aug 2013 00:24:13 +0000 (UTC) Received: (qmail 92410 invoked by uid 500); 30 Aug 2013 00:24:08 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 92230 invoked by uid 500); 30 Aug 2013 00:24:08 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 92223 invoked by uid 99); 30 Aug 2013 00:24:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Aug 2013 00:24:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ojoshi@hortonworks.com designates 209.85.215.49 as permitted sender) Received: from [209.85.215.49] (HELO mail-la0-f49.google.com) (209.85.215.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Aug 2013 00:24:03 +0000 Received: by mail-la0-f49.google.com with SMTP id ev20so946961lab.8 for ; Thu, 29 Aug 2013 17:23:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=MiGPCmAE6mu6aNbIzJ7v7dmhsquYlB+apsu1i/yHagE=; b=EEqnhdz+OeJuzCVJZnHEmyanZOdsSlcxUbWPRgZ8B45jAEmxK6ebDd5tc/y00n+kqb mfJS5YyN40F0YS3ZwBhG755JyDnSxsIIbLLLVgI6D2SWhY/bJOgfMrqI/B+731ePOHLW DlHGbnE2lMuxSCR5XgMjyQM30YpJOMrRRot2DUDZby3iaK4McEiRpztGoZBcNeBMCKDm +1soHJGuJ6ItIL6xSYRKq9W5L65HgX9wEcwLiy/+FKK5pg0L55kGZmyis3WwpcsAYQ8f uDQePQ6ORBLNNP/aXujJUTQXcnvO8EMX9OP+lFm26fDU9W2vw5smM743BuQACP7lDwpx zkiQ== X-Gm-Message-State: ALoCoQnqPnjq7Eq7U6dt3loseNeI5XFJUJmZFDynUUF7mYPxsw3n52E5C4EGQL59F8VPOiOIfijNWSV2mNQ241zZpqjNxbX8CjZFI2v5/xE/9Gcs7disYlI= MIME-Version: 1.0 X-Received: by 10.152.6.97 with SMTP id z1mr5231446laz.26.1377822221288; Thu, 29 Aug 2013 17:23:41 -0700 (PDT) Received: by 10.112.74.130 with HTTP; Thu, 29 Aug 2013 17:23:41 -0700 (PDT) In-Reply-To: References: Date: Thu, 29 Aug 2013 17:23:41 -0700 Message-ID: Subject: Re: Cache file conflict From: Omkar Joshi To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0149396410574c04e51f3c0c X-Virus-Checked: Checked by ClamAV on apache.org --089e0149396410574c04e51f3c0c Content-Type: text/plain; charset=US-ASCII you should check this https://issues.apache.org/jira/browse/MAPREDUCE-4493?focusedCommentId=13713706&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13713706 Thanks, Omkar Joshi *Hortonworks Inc.* On Thu, Aug 29, 2013 at 5:06 PM, Public Network Services < publicnetworkservices@gmail.com> wrote: > Hi... > > After updating the source JARs of an application that launches a second > job while running a MR job, the following error keeps occurring: > > org.apache.hadoop.mapred.InvalidJobConfException: cache file > (mapreduce.job.cache.files) scheme: "hdfs", host: "server", port: 9000, > file: > "/tmp/hadoop-yarn/staging/root/.staging/job_1367474197612_0887/libjars/Some.jar", > conflicts with cache file (mapreduce.job.cache.files) > hdfs://server:9000/tmp/hadoop-yarn/staging/root/.staging/job_1367474197612_0888/libjars/Some.jar > at > org.apache.hadoop.mapreduce.v2.util.MRApps.parseDistributedCacheArtifacts(MRApps.java:338) > at > org.apache.hadoop.mapreduce.v2.util.MRApps.setupDistributedCache(MRApps.java:273) > at > org.apache.hadoop.mapred.YARNRunner.createApplicationSubmissionContext(YARNRunner.java:419) > at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:288) > at > org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:394) > at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1218) > at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1215) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1367) > at org.apache.hadoop.mapreduce.Job.submit(Job.java:1215) > ............ > > where job_1367474197612_0887 is the name of the initial job, > job_1367474197612_0888 is the name of the subsequent job, and Some.jar is a > JAR file specific to the application. > > Any ideas as to how the above error could be eliminated? > > Thanks! > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You. --089e0149396410574c04e51f3c0c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
you should check this=A0


On Thu, Aug 29, 2013 at 5:06 PM, Public = Network Services <publicnetworkservices@gmail.com> wrote:
Hi...
After updating the source JARs of an application that launches = a second job while running a MR job, the following error keeps occurring:
org.apache.hadoop.mapred.InvalidJobConfException: cache file (mapreduce.job= .cache.files) scheme: "hdfs", host: "server", port: 900= 0, file: "/tmp/hadoop-yarn/staging/root/.staging/job_1367474197612_088= 7/libjars/Some.jar",=A0 conflicts with cache file (mapreduce.job.cache= .files) hdfs://server:9000/tmp/hadoop-yarn/staging/root/.staging/job_136747= 4197612_0888/libjars/Some.jar
=A0=A0=A0 at org.apache.hadoop.mapreduce.v2.util.MRApps.parseDistributedCac= heArtifacts(MRApps.java:338)
=A0=A0=A0 at org.apache.hadoop.mapreduce.v2= .util.MRApps.setupDistributedCache(MRApps.java:273)
=A0=A0=A0 at org.apa= che.hadoop.mapred.YARNRunner.createApplicationSubmissionContext(YARNRunner.= java:419)
=A0=A0=A0 at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:= 288)
=A0=A0=A0 at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInte= rnal(JobSubmitter.java:394)
=A0=A0=A0 at org.apache.hadoop.mapreduce.Job= $11.run(Job.java:1218)
=A0=A0=A0 at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1215)
=A0= =A0=A0 at java.security.AccessController.doPrivileged(Native Method)
=A0= =A0=A0 at javax.security.auth.Subject.doAs(Subject.java:396)
=A0=A0=A0 a= t org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation= .java:1367)
=A0=A0=A0 at org.apache.hadoop.mapreduce.Job.submit(Job.java:1215)
.....= .......

where job_1367474197612_0887 is the name of the = initial job, job_1367474197612_0888 is the name of the subsequent job, and = Some.jar is a JAR file specific to the application.

Any ideas as to how the above error could be eliminated?

<= /div>Thanks!


CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd may contain information that is confidential, privileged and exempt from= disclosure under applicable law. If the reader of this message is not the = intended recipient, you are hereby notified that any printing, copying, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u. --089e0149396410574c04e51f3c0c--