Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

HDP_VERSION

avatar

I see a lot of scripts like hadoop-env.sh are using the variable HDP_VERSION. Can anybody tell from where does this get populated. IS there any property file and if so can you please provide the location. this instalaltion is done through ambari.

1 ACCEPTED SOLUTION

avatar
Super Guru
@ARUNKUMAR RAMASAMY

I think it is defined in multiple places in same way, please see below files.

/usr/hdp/current/hadoop-client/bin/hdfs
/usr/hdp/current/hadoop-client/bin/yarn
/usr/hdp/current/hadoop-client/bin/hadoop
/usr/hdp/current/hadoop-client/bin/mapreduce

View solution in original post

2 REPLIES 2

avatar
Super Guru
@ARUNKUMAR RAMASAMY

I think it is defined in multiple places in same way, please see below files.

/usr/hdp/current/hadoop-client/bin/hdfs
/usr/hdp/current/hadoop-client/bin/yarn
/usr/hdp/current/hadoop-client/bin/hadoop
/usr/hdp/current/hadoop-client/bin/mapreduce

avatar

Thanks Jitendra. It helped