Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 9239DF022 for ; Fri, 25 Apr 2014 16:00:38 +0000 (UTC) Received: (qmail 46455 invoked by uid 500); 25 Apr 2014 16:00:30 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 46351 invoked by uid 500); 25 Apr 2014 16:00:30 -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 46344 invoked by uid 99); 25 Apr 2014 16:00:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 16:00:30 +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 (nike.apache.org: domain of oleg.zhurakousky@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 16:00:25 +0000 Received: by mail-wg0-f45.google.com with SMTP id l18so3885000wgh.16 for ; Fri, 25 Apr 2014 09:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2Ub9WoBLjtiUXgfcjqF1XWMcSo6G20vOpnsTdhBTufc=; b=dRa0jx4Kv6RXE2KmReXB6CdaDFKYoWd0PGxJZRXIXihrHWZ8G6OzjS5ps9XXdi2cs5 tcN/DR4uCmopa8//BbXLcgw0Fxn9PnFbhw8WBn3Wc+Civ2xRrk9u8jsre9nkxU6NPoqn OuEXc+OxTvnK5jgM66jLN7DTDdx+oPf2UU9xdhfvEqyIU7wGjKoVD5RwoR9n8Afs6FeV CAADaSuJE1WdZUHkrItB8sNj/1RXI2osNpi5tnq6Yo2Fe9NSYbs480Mh6TkPKMJ4A8As I3M3l3jxNZyHKRr86NYAbQjlSLXWrW9DpTGP3zkegzKlWimJWW9lu/2XNd1PnYvgdijc 1MfQ== MIME-Version: 1.0 X-Received: by 10.194.78.77 with SMTP id z13mr2188840wjw.64.1398441603223; Fri, 25 Apr 2014 09:00:03 -0700 (PDT) Received: by 10.180.0.148 with HTTP; Fri, 25 Apr 2014 09:00:03 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Apr 2014 12:00:03 -0400 Message-ID: Subject: Re: What configuration parameters cause a Hadoop 2.x job to run on the cluster From: Oleg Zhurakousky To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7bfcfc98ffd70a04f7e00e53 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bfcfc98ffd70a04f7e00e53 Content-Type: text/plain; charset=UTF-8 What version of Hadoop you are using? (YARN or no YARN) To answer your question; Yes its possible and simple. All you need to to is to have Hadoop JARs on the classpath with relevant configuration files on the same classpath pointing to the Hadoop cluster. Most often people simply copy core-site.xml, yarn-site.xml etc from the actual cluster to the application classpath and then you can run it straight from IDE. Not a windows user so not sure about that second part of the question. Cheers Oleg On Fri, Apr 25, 2014 at 11:46 AM, Steve Lewis wrote: > Assume I have a machine on the same network as a hadoop 2 cluster but > separate from it. > > My understanding is that by setting certain elements of the config file or > local xml files to point to the cluster I can launch a job without having > to log into the cluster, move my jar to hdfs and start the job from the > cluster's hadoop machine. > > Does this work? > What Parameters need I sat? > Where is the jar file? > What issues would I see if the machine is running Windows with cygwin > installed? > > --047d7bfcfc98ffd70a04f7e00e53 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
What version of Hadoop you are using? (YARN or no YARN)To answer your question; Yes its possible and simple. All you need to to = is to have Hadoop JARs on the classpath with relevant configuration files o= n the same =C2=A0classpath pointing to the Hadoop cluster. Most often peopl= e simply copy core-site.xml, yarn-site.xml etc from the actual cluster to t= he application classpath and then you can run it straight from IDE.

Not a windows user so not sure about that second part o= f the question.

Cheers
Oleg
<= div class=3D"gmail_extra">

On Fri, Apr 25= , 2014 at 11:46 AM, Steve Lewis <lordjoe2000@gmail.com> = wrote:
Assume I have a machine on = the same network as a hadoop 2 cluster but separate from it.=C2=A0

My understanding is that by setting certain elements of the config fil= e or local xml files to point to the cluster I can launch a job without hav= ing to log into the cluster, move my jar to hdfs and start the job from the= cluster's hadoop machine.

Does this work?
What Parameters need I sat?
Where is the jar file?
What issues would I see if the ma= chine is running Windows with cygwin installed?


--047d7bfcfc98ffd70a04f7e00e53--