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 2F181108BE for ; Fri, 18 Apr 2014 01:39:58 +0000 (UTC) Received: (qmail 63657 invoked by uid 500); 18 Apr 2014 01:39:50 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 63495 invoked by uid 500); 18 Apr 2014 01:39:50 -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 63488 invoked by uid 99); 18 Apr 2014 01:39:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2014 01:39:50 +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 azuryyyu@gmail.com designates 209.85.216.44 as permitted sender) Received: from [209.85.216.44] (HELO mail-qa0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2014 01:39:44 +0000 Received: by mail-qa0-f44.google.com with SMTP id hw13so1111472qab.31 for ; Thu, 17 Apr 2014 18:39:24 -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=iKyfY/YLKSBKNXQ2RuZjl1324OrHd0wlZrmdZNhsGBY=; b=B7xaT/p6ckyDgUg0mX9KbySreJetYna8EbGTLA3VPb5BicY5NksogDyNvTlvAyvEsB Xg5phGBXaSEU0YvbP+d5deQN5gpFZR14RhZdnQUj8vQ2qrSBcHTDPqGoZvmyJOPMxVvY KSLbe2i+EWZRSbp4Fp0Ejr9PqydAAQxmc1QKy/tYU0+2TS8fVHiEOYovl/eNQEa356qV hZGycOuNOroxMS6bV5zpM1Z7SWipDIaKWpwYZ1Xk3991EOR5pLsZNf9lNZpOtLYCNqlC KeJzL1eRwabpCkVG/rPs6/hrYDB7Ob7lFap8EFTNIPfHRc8OP+MD2rdhmRG5ufehioGr vuNw== MIME-Version: 1.0 X-Received: by 10.140.89.234 with SMTP id v97mr21528948qgd.20.1397785164302; Thu, 17 Apr 2014 18:39:24 -0700 (PDT) Received: by 10.140.21.176 with HTTP; Thu, 17 Apr 2014 18:39:24 -0700 (PDT) In-Reply-To: References: Date: Fri, 18 Apr 2014 09:39:24 +0800 Message-ID: Subject: Re: JVM option From: Azuryy Yu To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=001a11c1161430ceb704f7473874 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1161430ceb704f7473874 Content-Type: text/plain; charset=UTF-8 Do you want add "-Xmx4g" to your MR tasks? if so, just add it as "mapred.child.java.opts" in the mapred-site.xml On Fri, Apr 18, 2014 at 9:35 AM, Andy Srine wrote: > Quick question. How would I pass the following JVM option to the Hadoop > command line? > > "-Xmx4G" > > hadoop jar > > Thanks, > Andy > > --001a11c1161430ceb704f7473874 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Do you want add "-Xmx4g" to your MR tasks? =C2= =A0if so, just add it as "mapred.child.java.opts" in the mapred-s= ite.xml


= On Fri, Apr 18, 2014 at 9:35 AM, Andy Srine <andy.srine@gmail.com= > wrote:
Quick question. How would I= pass the following JVM option to the Hadoop command line?

"-Xmx4G"<= div>

hadoop jar <jar file> <class_name> <args>


Thanks,
Andy


--001a11c1161430ceb704f7473874--