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 E2A3CFA84 for ; Mon, 29 Apr 2013 09:37:45 +0000 (UTC) Received: (qmail 97593 invoked by uid 500); 29 Apr 2013 09:37:41 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 97202 invoked by uid 500); 29 Apr 2013 09:37:40 -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 97195 invoked by uid 99); 29 Apr 2013 09:37:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 09:37:39 +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 jens.scheidtmann@gmail.com designates 209.85.214.174 as permitted sender) Received: from [209.85.214.174] (HELO mail-ob0-f174.google.com) (209.85.214.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 09:37:35 +0000 Received: by mail-ob0-f174.google.com with SMTP id wc20so5249484obb.5 for ; Mon, 29 Apr 2013 02:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=TgVPTD//UnvK8F9yiaUArLtEXCxK+J/wlAfCuhUPlw0=; b=UDCJX38jnn+lfrZ2TuVY5QQyn0ZON2E0fxS1P6/wFDU+Im/9eXI4XLM8J0dX79etWA uotLXCpSssVZSAXA1+KtWpMIeExTzXaRmhbi/EtHpRccX5+rlJa+pLURZi908H+d4ZZ4 ohfUTHtKyd7NdaKknZLEZhqDNCpYv/s/reb2lI0V7zCNXwNEnns6d+yyxx4RSYyKJNkb qQc72YiDdCld3MjqtZbD9+28cJEYPVFUIXR767IaCZpYFk68r4Q92nIGtiq8yAY2HoIS sIFIk406tJMXJPosqCYElM3WmkU1GlGV0o1dH/OZYKk1aWnlFFI2qWn71U2ZKtRm9HBO +49A== MIME-Version: 1.0 X-Received: by 10.60.178.139 with SMTP id cy11mr2001951oec.120.1367228235044; Mon, 29 Apr 2013 02:37:15 -0700 (PDT) Received: by 10.60.15.196 with HTTP; Mon, 29 Apr 2013 02:37:14 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Apr 2013 11:37:14 +0200 Message-ID: Subject: Re: Multiple ways to write Hadoop program driver - Which one to choose? From: Jens Scheidtmann To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e011774f746dca404db7ca188 X-Virus-Checked: Checked by ClamAV on apache.org --089e011774f746dca404db7ca188 Content-Type: text/plain; charset=ISO-8859-1 Dear Chandrash3khar K0tekar, Using the run() method implies implementing Tool and using ToolRunner. This gives as additional benefit that some "standard" hadoop command line options are available. See here: http://grepcode.com/file/repository.cloudera.com/content/repositories/releases/com.cloudera.hadoop/hadoop-core/0.20.2-737/org/apache/hadoop/util/ToolRunner.java Best regards, Jens --089e011774f746dca404db7ca188 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Dear Chandrash3khar K0tekar,

Using = the run() method implies implementing Tool and using ToolRunner. This gives= as additional benefit that some "standard" hadoop command line o= ptions are available. See here:
http://grepcode.com/file/repository.cloudera.com/con= tent/repositories/releases/com.cloudera.hadoop/hadoop-core/0.20.2-737/org/a= pache/hadoop/util/ToolRunner.java

Best regards,

Jens


--089e011774f746dca404db7ca188--