Return-Path: X-Original-To: apmail-spark-user-archive@minotaur.apache.org Delivered-To: apmail-spark-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 DA5EB11B9E for ; Fri, 18 Jul 2014 01:33:00 +0000 (UTC) Received: (qmail 54934 invoked by uid 500); 18 Jul 2014 01:32:58 -0000 Delivered-To: apmail-spark-user-archive@spark.apache.org Received: (qmail 54745 invoked by uid 500); 18 Jul 2014 01:32:58 -0000 Mailing-List: contact user-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@spark.apache.org Delivered-To: mailing list user@spark.apache.org Received: (qmail 54516 invoked by uid 99); 18 Jul 2014 01:32:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2014 01:32:58 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.215.44] (HELO mail-la0-f44.google.com) (209.85.215.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2014 01:32:56 +0000 Received: by mail-la0-f44.google.com with SMTP id e16so2408989lan.3 for ; Thu, 17 Jul 2014 18:32:32 -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:cc:content-type; bh=kAOer62Qh0cghSFmwTwzPOpFEFmRnBxCU/HJdpQz2ps=; b=euq5hKRavhtAZrOpDXHCZ+CiVqrFHc9a6bH7NddOYuKUK6OHLtyY9Tsvwj5jPH2x1j RqEtrTmRclPJ978LI1kJKD0BwcKf8m1IxmOP31kU+lcZf5EZ9nIsh8MP0Lmx2S+RwgoP aScQf6yq6IqpCZVHWI+T+hMGUqSUt0mRJavSrPBohw+mwOBMFaQHTit2/r0ygubsx8la H/tvXbkRH4ShgG589nl05nuTF1Nw16m6l3f79OpCQDmPZp2vcechC37FaxP9iEVX2zcI 6TGLFPD5Af0fd7vQ3ndqEkSSAGpFqe1GVnqVnTOjDAQaZd8G0Zwsz1n/B4CVpANQ0wyR raJg== X-Gm-Message-State: ALoCoQmDA3ayCRLzRkcQdQzpMprtXV8yGIeI7FvmAfai8HMnGo9xy6fKymghCTPio2ABCOVEI6jz MIME-Version: 1.0 X-Received: by 10.152.120.195 with SMTP id le3mr990028lab.16.1405647151903; Thu, 17 Jul 2014 18:32:31 -0700 (PDT) Received: by 10.112.144.106 with HTTP; Thu, 17 Jul 2014 18:32:31 -0700 (PDT) In-Reply-To: <1405579344086-10017.post@n3.nabble.com> References: <1405576190898-10011.post@n3.nabble.com> <2A8C564F-9022-41A7-A9F2-1FBD761852C0@alpinenow.com> <1405579344086-10017.post@n3.nabble.com> Date: Thu, 17 Jul 2014 18:32:31 -0700 Message-ID: Subject: Re: jar changed on src filesystem From: Andrew Or To: user@spark.apache.org Cc: "user@spark.incubator.apache.org" Content-Type: multipart/alternative; boundary=089e01227abc2b58e704fe6dbb70 X-Virus-Checked: Checked by ClamAV on apache.org --089e01227abc2b58e704fe6dbb70 Content-Type: text/plain; charset=UTF-8 Hi Jian, In yarn-cluster mode, Spark submit automatically uploads the assembly jar to a distributed cache that all executor containers read from, so there is no need to manually copy the assembly jar to all nodes (or pass it through --jars). It seems there are two versions of the same jar in your HDFS. Try removing all old jars from your .sparkStaging directory and try again? Let me know if that does the job, Andrew 2014-07-16 23:42 GMT-07:00 cmti95035 : > They're all the same version. Actually even without the "--jars" parameter > it > got the same error. Looks like it needs to copy the assembly jar for > running > the example jar anyway during the staging. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/jar-changed-on-src-filesystem-tp10011p10017.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > --089e01227abc2b58e704fe6dbb70 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Jian,

In yarn-cluster mode, Spark su= bmit automatically uploads the assembly jar to a distributed cache that all= executor containers read from, so there is no need to manually copy the as= sembly jar to all nodes (or pass it through --jars).
It seems there are two versions of the same jar in your HDFS. Try remo= ving all old jars from your .sparkStaging directory and try again?

Let me know if that does the job,
Andrew


2014-07= -16 23:42 GMT-07:00 cmti95035 <cmti95035@gmail.com>:
They're all the same version. Actually even without the "--jars&qu= ot; parameter it
got the same error. Looks like it needs to copy the assembly jar for runnin= g
the example jar anyway during the staging.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/jar-changed= -on-src-filesystem-tp10011p10017.html
Sent from the Apache Spark User Lis= t mailing list archive at Nabble.com.

--089e01227abc2b58e704fe6dbb70--