FAQ
Hi John,

Cloudera Manager handles these things for you so you don't have to bother
with them. If you want to see exactly what CM is doing, you can look in the
processes tab for each role and look at the environment and the stderr log
to see exactly what environment variables are being set.

There are some use cases where you need to add custom jars to a path. This
is often handled with a special environment variable such as AUX_CLASSPATH
or sometimes in a <name>-site.xml file. You can use the appropriate Safety
Valves in CM to modify the environment or site.xml files with these values.
Just be sure to read the descriptions carefully and pick the right one.

Thanks,
Darren

On Wed, Apr 10, 2013 at 7:55 AM, John Meza wrote:

It's more than running running a job(s), which i'm also doing. I'm also
becoming familiar with the managment, administration and tuning of a 8 node
test cluster. As I read web pages, books, etc., they all refer to the
environment variables (HADDOP_INSTALL, HADOOP_CLASSPATH,...).

The need to find the environment variables, Hadoop specific directories,
and config files is so common, ocurring everyday, these lists would be very
helpful.
thanks
John

On Tue, Apr 9, 2013 at 1:24 PM, Philip Langdale wrote:

Hi John,

You'll need to be more specific about what you're trying to do. There are
a bunch of environment variables that affect how Hadoop runs, and we do set
them as part of running a datanode, or tasktracker, etc, but these are not
all relevant to a client that's connecting to Hadoop to do work.

Under normal conditions, it's sufficient for a client to find the hadoop
configuration directory under /etc and use its contents to get up and
running. In this scenario, you don't need to set any extra variables.

If you can explain what your situation is, I can hopefully give you more
relevant information.

--phil

On 8 April 2013 22:43, John Meza wrote:

Is there a list of the environment variables that SCM creates when
installing CDH?
Many pages refer to HADOOP_HOME, HADOOP_INSTALL, etc.

Or does the user have to manually create the env variables if needed?
If so, is there a list of typical directories that SCM installs to?

thanks
John

--
Thanks,
Darren

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 5 | next ›
Discussion Overview
groupscm-users @
categorieshadoop
postedApr 9, '13 at 5:43a
activeApr 10, '13 at 3:58p
posts5
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase