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.

HADOOP_PREFIX

Highlighted

HADOOP_PREFIX

New Contributor

The HDP 2.3.2 VM is built on Centos and to study the same we need to find out where the HADOOP_PREFIX is located Can somebody point to me where this is located in the hdp2.3.2?

5 REPLIES 5

Re: HADOOP_PREFIX

@Sreenivas Adiki

try this

HADOOP_PREFIX=/usr/hdp/current/hadoop-client

Re: HADOOP_PREFIX

@Sreenivas Adiki

/etc/hadoop/2.3.2.0-2950/0/hadoop-env.sh

Managed by Ambari

1020-screen-shot-2015-12-22-at-34816-pm.png

Re: HADOOP_PREFIX

New Contributor

Hi Neeraj

Thanks for the reply . However, my question is more specific to the following. while skimming through the file system , if found a file where the following environment variables were set . Can you let me know where are these parameters stored in HDP2.3.2 VM .

export HADOOP_HOME_WARN_SUPPRESS=true

export HADOOP_HOME=/usr/hdp/2.3.2.0-2950/hadoop

export HADOOP_PREFIX=/usr/hdp/2.3.2.0-2950/hadoop

export HADOOP_LIBEXEC_DIR=/usr/hdp/2.3.2.0-2950/hadoop/libexec

export HADOOP_CONF_DIR=/etc/hadoop/conf

export HADOOP_COMMON_HOME=/usr/hdp/2.3.2.0-2950/hadoop

export HADOOP_HDFS_HOME=/usr/hdp/2.3.2.0-2950/hadoop-hdfs

export HADOOP_MAPRED_HOME=/usr/hdp/2.3.2.0-2950/hadoop-mapreduce

export HADOOP_YARN_HOME=/usr/hdp/2.3.2.0-2950/hadoop-yarn

export JSVC_HOME=/usr/hdp/2.3.2.0-2950//usr/libexec/bigtop-utils

One more question: I want to take over a HDP site for maintenance or operations, Is there a check list on what should be checked to start with before taking over?

Appreciate your quick reply

Regards

Sreenivas

Re: HADOOP_PREFIX

Mentor

Those environments are usually set in the .profile of the user who owns the hadoop software typically in /home/$hadoop_user You will need to run $ls -al to see the .profile @Sreenivas Adiki

Re: HADOOP_PREFIX

Mentor

@Sreenivas Adiki are you still having issues with this? Can you accept best answer or provide your own solution?