Support Questions

Find answers, ask questions, and share your expertise

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