Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-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 43F00E270 for ; Sat, 16 Feb 2013 10:35:15 +0000 (UTC) Received: (qmail 9862 invoked by uid 500); 16 Feb 2013 10:35:09 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 9662 invoked by uid 500); 16 Feb 2013 10:35:09 -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 9644 invoked by uid 99); 16 Feb 2013 10:35:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Feb 2013 10:35: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 sebastiano.vigna@gmail.com designates 209.85.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Feb 2013 10:35:03 +0000 Received: by mail-oa0-f48.google.com with SMTP id j1so4482128oag.7 for ; Sat, 16 Feb 2013 02:34:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=vPvQKKMa6FbDxQ+CSva1FbpMdSh/yOeDTubLZPGw45w=; b=ZDYsZdwjTFx+oioN8W9jjR8DimtlZhj9np7JWbte7TklDKCqcCwgkNsMWERPMMbyNa 9c41Wyvul2wxqCE+S5vUWs7JPuzsQJiAgbOQNOHnM/Cq+wI9PFq1CRXWWjxvKEOfKnho ZT0XJFJ6ftHfjrUwhYJS8XKplTVcajhi3129bZEQCLcAs7rWvIuYMAtVQaBXuKUwKtLt 97J7baEw/DegC3WbMrbBvePcy0//U87+6uMPrS1qgQSkFsXnSXecQkHTfJqkQ9csd3cj wXzMyM6dk954RezvTL8A46+hXhD4ExB1GKVromcwrZ9u89vEB3upY2HawM8bR50AnLho B/hw== MIME-Version: 1.0 X-Received: by 10.60.32.200 with SMTP id l8mr3650573oei.43.1361010883221; Sat, 16 Feb 2013 02:34:43 -0800 (PST) Sender: sebastiano.vigna@gmail.com Received: by 10.182.89.197 with HTTP; Sat, 16 Feb 2013 02:34:43 -0800 (PST) In-Reply-To: References: <0CCC5526-8617-4D4F-9F3B-19CC082F477B@di.unimi.it> Date: Sat, 16 Feb 2013 11:34:43 +0100 X-Google-Sender-Auth: Chf076u8GtHxH1ZZQ-9FkOJGqNU Message-ID: Subject: Re: Correct way to unzip locally an archive in Yarn From: Sebastiano Vigna To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1f5b03ada5d04d5d50a24 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1f5b03ada5d04d5d50a24 Content-Type: text/plain; charset=UTF-8 On 15 February 2013 16:57, Robert Evans wrote: > Are you trying to run a Map/Reduce job or are you writing a new YARN > application? If it is a MR job, then it should work mostly the same as > before (on 1.x). If you are writing a new YARN application then there is a > separate Map in the ContainerLaunchContext that you need to fill in. It's a MapReduce job (0.23.6). After two days of useless trials, I'm uploading the zip with -files and I wrote a stub to unzip it manually. I was positively unable to get the archive unzipped *to a local directory* in any way. Unfortunately it works in local but not on the cluster. I have still to discover why. :( Ciao, --e89a8fb1f5b03ada5d04d5d50a24 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 15 February 2013 16:57, Robert Evans=C2=A0<evan= s@yahoo-inc.com>=C2=A0wrote:
Are you trying to run a Map/Reduce job or are you writing a new YARN
app= lication? =C2=A0If it is a MR job, then it should work mostly the same asbefore (on 1.x). If you are writing a new YARN application then there is = a
separate Map in the ContainerLaunchContext that you need to fill in.
=C2=A0
It's a MapReduce job=C2=A0(0.23.6). = After two days of useless trials, I'm uploading the zip with -files and= I wrote a stub to unzip it manually. I was positively unable to get the ar= chive unzipped *to a local directory* in any way.

Unfortunately it works in local but not on the cluster. I ha= ve still to discover why. :(

Ciao,



--e89a8fb1f5b03ada5d04d5d50a24--