Support Questions
Find answers, ask questions, and share your expertise

Haddop's Environment Variables

Highlighted

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
Highlighted

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