Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC236D6F0 for ; Tue, 18 Dec 2012 05:00:16 +0000 (UTC) Received: (qmail 78064 invoked by uid 500); 18 Dec 2012 05:00:15 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 77962 invoked by uid 500); 18 Dec 2012 05:00:13 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 77918 invoked by uid 99); 18 Dec 2012 05:00:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 05:00:11 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_IMAGE_ONLY_32,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vinodkv@hortonworks.com designates 209.85.213.42 as permitted sender) Received: from [209.85.213.42] (HELO mail-yh0-f42.google.com) (209.85.213.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 05:00:04 +0000 Received: by mail-yh0-f42.google.com with SMTP id g71so39641yhg.15 for ; Mon, 17 Dec 2012 20:59:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:mime-version:content-type:subject:date:in-reply-to :to:references:message-id:x-mailer:x-gm-message-state; bh=G7lgm2CWBCTOm0NaY48L+Ty9AIhho+vFdLdIy2izg7w=; b=DEVLTjMOEhw/ZLHJ7owRxi93OOMSK9MKGG+n2bCo3dXIbZnW0Hqb1GPOsHRJrQLF4f d3G2OknagBNrnzq91kQLD7V6RTVHooQDFEoV79iGvuOGS9rdvyL+jLMnHLhhPAFxcSUS TqF21RF8QJ8mJqjN+ncETQHZJxIE2/pvz4RPZLGJ5urJRgEmJiu7om5ok5hx8Sqh+/I6 +LADqoszoANRRVXwztpNbeTUzQ1yDNyNaNz+VJefrWyxNFVcOntxj1jwJEn2ay2uNkT/ l23I7EosUVH97ekgJYjsUilBco7nBTt7+zsOSWufJG9STqqldAoftoLLGtHC1VxruF3a Iv9g== X-Received: by 10.101.180.27 with SMTP id h27mr190545anp.60.1355806783945; Mon, 17 Dec 2012 20:59:43 -0800 (PST) Received: from ?IPv6:2602:306:ce97:cfb0:a515:bc3b:61a7:ae05? ([2602:306:ce97:cfb0:a515:bc3b:61a7:ae05]) by mx.google.com with ESMTPS id x9sm582012yhl.17.2012.12.17.20.59.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Dec 2012 20:59:39 -0800 (PST) From: Vinod Kumar Vavilapalli Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/signed; boundary="Apple-Mail=_9D4AFF52-3B46-40E0-B430-7C27D13E6A9E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Re: Possible to set map/reduce log level in configuration file? Date: Mon, 17 Dec 2012 20:59:30 -0800 In-Reply-To: To: user@hive.apache.org References: Message-Id: <17F820CF-FFC2-49A9-96C2-8F95E2B37A51@apache.org> X-Mailer: Apple Mail (2.1278) X-Gm-Message-State: ALoCoQmYSYjSky7NY5GhxY2vSH/f5rtK+wYWPmW1ZxICETVTHlKyf4LM3y7P2yUt6G1tVbM+cXbU X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_9D4AFF52-3B46-40E0-B430-7C27D13E6A9E Content-Type: multipart/alternative; boundary="Apple-Mail=_253BD747-9315-4A3F-811D-853B27885A8B" --Apple-Mail=_253BD747-9315-4A3F-811D-853B27885A8B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 That's not true, you don't need to restart the cluster. Changing client-side mapredi-site.xml is the correct solution. HTH, +Vinod On Dec 14, 2012, at 9:10 AM, Ted Reynolds wrote: > Hi Krishna, >=20 > You can also set these properties in the mapred-site.xml, but this = would require a restart of your cluster. >=20 > Ted. >=20 > Ted Reynolds > Technical Support Engineer > Hortonworks > Work Phone: 408-645-7079 >=20 >=20 >=20 >=20 >=20 > On Fri, Dec 14, 2012 at 2:44 AM, Nitin Pawar = wrote: > if you want this to be set at every query you execute best would have = a hiverc file and then include it as hive -i hiverc=20 >=20 > alternatively, you can create a .hiverc into your home directory and = set the parameters you want, these will be included in each session=20 >=20 >=20 > On Fri, Dec 14, 2012 at 4:05 PM, Krishna Rao = wrote: > Hi all, >=20 > is it possible to set: mapreduce.map.log.level & = mapreduce.reduce.log.level, within some config file? >=20 > At the moment I have to remember to set these at the start of a hive = session, or script. >=20 > Cheers, >=20 > Krishna >=20 >=20 >=20 > --=20 > Nitin Pawar >=20 --Apple-Mail=_253BD747-9315-4A3F-811D-853B27885A8B Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=iso-8859-1


That's not true, you don't need to restart the cluster.

Changing client-side mapredi-site.xml is the correct solution.

HTH,
+Vinod

On Dec 14, 2012, at 9:10 AM, Ted Reynolds wrote:

Hi Krishna,

You can also set these properties in the mapred-site.xml, but this would require a restart of your cluster.

Ted.

Ted Reynolds
Technical Support Engineer
Hortonworks
Work Phone: 408-645-7079





On Fri, Dec 14, 2012 at 2:44 AM, Nitin Pawar <nitinpawar432@gmail.com> wrote:
if you want this to be set at every query you execute best would have a hiverc file and then include it as hive -i hiverc 

alternatively, you can create a .hiverc into your home directory and set the parameters you want, these will be included in each session 


On Fri, Dec 14, 2012 at 4:05 PM, Krishna Rao <krishnanjrao@gmail.com> wrote:
Hi all,

is it possible to set: mapreduce.map.log.level & mapreduce.reduce.log.level, within some config file?

At the moment I have to remember to set these at the start of a hive session, or script.

Cheers,

Krishna



--
Nitin Pawar


--Apple-Mail=_253BD747-9315-4A3F-811D-853B27885A8B-- --Apple-Mail=_9D4AFF52-3B46-40E0-B430-7C27D13E6A9E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) iQEcBAEBAgAGBQJQz/gyAAoJECVa31bDbF8PUZYH/08gB3xOcu6rFY7H4F+61nov dtGYAq3DVfxuSHddNeNJdHsrKHBGw/Yd+oZLhM+E36UwKPspOe322iXL9TuUK8iN pV5KfGJiU6EdDgqDpw9dhxcFwia9nDNHVLnF24WruBN8+qI0AxLwRTcx/8VWRnMS R/orai5gZgupk/SspCUFuQzCBCV9lWzwJ3qP0rVKug9fTfX3z6HpmAbAnYJPrYLP wjUt4yNIx/HeP5RMitltDm2/f8GpdWNjQmAcXw/XWXLqpllnyf8WIGWhTkvSDzFQ 7SVmuQ00ZxFGafSze5S5HWIPCGxfGtsv7lPy56CUm5TgH4b4SNiaUFflzkcEVCE= =r7bq -----END PGP SIGNATURE----- --Apple-Mail=_9D4AFF52-3B46-40E0-B430-7C27D13E6A9E--