Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 A05EE10F68 for ; Sun, 8 Dec 2013 19:21:09 +0000 (UTC) Received: (qmail 18981 invoked by uid 500); 8 Dec 2013 19:21:04 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 18804 invoked by uid 500); 8 Dec 2013 19:21:04 -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 18797 invoked by uid 99); 8 Dec 2013 19:21:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Dec 2013 19:21:04 +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 forrie@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Dec 2013 19:20:57 +0000 Received: by mail-qc0-f176.google.com with SMTP id i8so2048373qcq.7 for ; Sun, 08 Dec 2013 11:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=VQVSb3NPn2L+5jdGStHxmYOHbcA8UmLQsTFAYrCEh6Y=; b=F9c+ofRrZ8gCE2C8u8YfQYYLO6yLDFyjsK28VxhfjA8JJZbDzhNFN4JaFBYNIYiuc+ ghg8WRotEaPYD1+AtrsBQIaNxiLUmHmd3hT0AUv6XJqn0gpPBNqHoNFoDkwpDgc3C2Os cCgV7SVrba6XYv6jqxQPnPpGovVDrcGYWlpnNCM0z9yjRmwkIp09QB9OZBS/f1ZeLJnf H2S3D28DpB5OY0faFR+48dUSwJ8Q4eLH3YruYvpchPJiP6rifwZIRnP6DfjD5OFv0ps9 Bv3eXTMINuOs5b1EibU3L2QRBQUbFOQTAwj1Zx+2EgLXiE2VD+LBef8aRfhTCi7WhAbf VPMg== X-Received: by 10.224.8.132 with SMTP id h4mr241151qah.103.1386530436732; Sun, 08 Dec 2013 11:20:36 -0800 (PST) Received: from vpn-108-0-202.de-vpn.harvard.edu (story1-vpn-gw.dce.harvard.edu. [140.247.198.51]) by mx.google.com with ESMTPSA id f10sm21179895qej.1.2013.12.08.11.20.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 08 Dec 2013 11:20:36 -0800 (PST) Message-ID: <52A4C683.6010602@gmail.com> Date: Sun, 08 Dec 2013 14:20:35 -0500 From: Forrest Aldrich User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: user Subject: Setting the HADOOP_HOME_DIR Content-Type: multipart/alternative; boundary="------------070204080401070603090107" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------070204080401070603090107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit We have a home-grown Hadoop installation that I am primarily responsible for. I've managed to get new nodes rolled out, it takes time as we have other dependencies. One item I've not been able figure out is where to set the HADOOP_HOME_DIR variable, so I can store the actual configuration for each node separate from the binary tree. Can anyone point me to where this gets set properly? We have an init.d script that starts the services on the master, which calls out to the slaves (as user "hadoop") -- but I'm guessing the variable can be started there, exported and inherited -- but perhaps it may be more proper to set in ~hadoop/conf/hadoop-env.sh. The idea is to enable me to more easily roll out slaves, perhaps using Puppet, so that the CONF and LOGS directories are separate -- it's easier to manage that way. Thanks. --------------070204080401070603090107 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit We have a home-grown Hadoop installation that I am primarily responsible for.   I've managed to get new nodes rolled out, it takes time as we have other dependencies.   One item I've not been able figure out is where to set the HADOOP_HOME_DIR variable, so I can store the actual configuration for each node separate from the binary tree.

Can anyone point me to where this gets set properly?   We have an init.d script that starts the services on the master, which calls out to the slaves (as user "hadoop") -- but I'm guessing the variable can be started there, exported and inherited -- but perhaps it may be more proper to set in ~hadoop/conf/hadoop-env.sh.

The idea is to enable me to more easily roll out slaves, perhaps using Puppet, so that the CONF and LOGS directories are separate -- it's easier to manage that way.


Thanks.

--------------070204080401070603090107--