Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Haddop's Environment Variables

Haddop's Environment Variables

New Contributor

Hi.

I have an aplication which use "hadoop.dristo" script, but fails because the Haddop's Environment Variables(like "HADOOP_HOME" and "HADOOP_LIBEXEC_DIR") are not set.

Anyone knows if exist an script for setting the variables or what are the correct configurations?

Thanks.

1 REPLY 1

Re: Haddop's Environment Variables

Contributor

@Wilson Blanco You can set these variables in /etc/hadoop/conf/hadoop-env.sh file. Typical values of these variables look like

export HADOOP_HOME=${HADOOP_HOME:-/usr/hdp/current/hadoop-client}

export HADOOP_LIBEXEC_DIR=/usr/hdp/current/hadoop-client/libexec