FAQ
CM segregates server configuration from client configuration.

On the server side, there is no hadoop-env.sh. Environment are set in
configuration, and can be overridden in environment safety valve (a
configuration field) as Kevin wrote.

On the client side, CM generates config for service clients. For example,
if you have both MR1 and MR2, you may see
/etc/hadoop/conf.cloudera.MAPREDUCE-1 as well as
/etc/hadoop/conf.cloudera.YARN-1. You can switch between them using the
alternatives system. E.g.:

$ update-alternatives --config hadoop-conf

There are 5 programs which provide 'hadoop-conf'.

Selection Command
-----------------------------------------------
1 /etc/hadoop/conf.empty
2 /etc/hadoop/conf.cloudera.HDFS-1
*+ 3 /etc/hadoop/conf.cloudera.MAPREDUCE-1
4 /etc/hadoop/conf.cloudera.YARN-1
5
/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.2/etc/hadoop/conf.empty

Enter to keep the current selection[+], or type selection number:

Cheers,
bc

On Thu, Feb 7, 2013 at 8:35 AM, Dhanasekaran Anbalagan
wrote:
Hi Guys,

Where is actually contain hadoop-env.sh, we are using CM *Version*:
4.0.4 (#79 built by jenkins on 20120821-1040

in CDH 4.0.1

Please guide me.


-Dhanasekaran.


Did I learn something today? If not, I wasted it.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupscm-users @
categorieshadoop
postedFeb 7, '13 at 4:36p
activeFeb 7, '13 at 7:30p
posts3
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase