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.

HDP Showing wrong version and services are not starting

Highlighted

HDP Showing wrong version and services are not starting

Contributor

version.pngversion-2.pngversion-1.pngHi,

I have recently innstalled HDP 2.6 but as our application was not supporting, we had to uninstall it and install 2.5. All was working fine but now my HDP version is pointing to 2.6 and all services are not starting.

  1. HDP-2.5.3.0 (HDP-2.6.1.0-129)
5 REPLIES 5

Re: HDP Showing wrong version and services are not starting

Contributor

I was able to start the services one by one instead of starting all at once but again when i tried to restart the services all at a time the issue has come up again.

Re: HDP Showing wrong version and services are not starting

Mentor

@Rajesh Reddy

Can you check by running

ls -al /usr/hdp/current 

All the components should point to the corect 2.5 version like below

/usr/hdp/current    ranger-usersync -> /usr/hdp/2.5.x.x/ranger-usersync

The links should point to the 2.5 packages

Re: HDP Showing wrong version and services are not starting

Contributor

All are showing correct link.

lrwxrwxrwx. 1 root root 25 Aug 9 15:49 atlas-client -> /usr/hdp/2.5.3.0-37/atlas lrwxrwxrwx. 1 root root 25 Aug 9 15:49 atlas-server -> /usr/hdp/2.5.3.0-37/atlas lrwxrwxrwx. 1 root root 26 Aug 9 15:49 falcon-client -> /usr/hdp/2.5.3.0-37/falcon lrwxrwxrwx. 1 root root 26 Aug 9 15:49 falcon-server -> /usr/hdp/2.5.3.0-37/falcon lrwxrwxrwx. 1 root root 25 Aug 9 15:49 flume-server -> /usr/hdp/2.5.3.0-37/flume lrwxrwxrwx. 1 root root 26 Aug 9 15:49 hadoop-client -> /usr/hdp/2.5.3.0-37/hadoop lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-hdfs-client -> /usr/hdp/2.5.3.0-37/hadoop-hdfs lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-hdfs-datanode -> /usr/hdp/2.5.3.0-37/hadoop-hdfs lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-hdfs-journalnode -> /usr/hdp/2.5.3.0-37/hadoop-hdfs lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-hdfs-namenode -> /usr/hdp/2.5.3.0-37/hadoop-hdfs lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-hdfs-nfs3 -> /usr/hdp/2.5.3.0-37/hadoop-hdfs lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-hdfs-portmap -> /usr/hdp/2.5.3.0-37/hadoop-hdfs lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-hdfs-secondarynamenode -> /usr/hdp/2.5.3.0-37/hadoop-hdfs lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-hdfs-zkfc -> /usr/hdp/2.5.3.0-37/hadoop-hdfs lrwxrwxrwx. 1 root root 33 Aug 9 15:49 hadoop-httpfs -> /usr/hdp/2.5.3.0-37/hadoop-httpfs lrwxrwxrwx. 1 root root 36 Aug 9 15:49 hadoop-mapreduce-client -> /usr/hdp/2.5.3.0-37/hadoop-mapreduce lrwxrwxrwx. 1 root root 36 Aug 9 15:49 hadoop-mapreduce-historyserver -> /usr/hdp/2.5.3.0-37/hadoop-mapreduce lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-yarn-client -> /usr/hdp/2.5.3.0-37/hadoop-yarn lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-yarn-nodemanager -> /usr/hdp/2.5.3.0-37/hadoop-yarn lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-yarn-resourcemanager -> /usr/hdp/2.5.3.0-37/hadoop-yarn lrwxrwxrwx. 1 root root 31 Aug 9 15:49 hadoop-yarn-timelineserver -> /usr/hdp/2.5.3.0-37/hadoop-yarn lrwxrwxrwx. 1 root root 25 Aug 9 15:49 hbase-client -> /usr/hdp/2.5.3.0-37/hbase lrwxrwxrwx. 1 root root 25 Aug 9 15:49 hbase-master -> /usr/hdp/2.5.3.0-37/hbase lrwxrwxrwx. 1 root root 25 Aug 9 15:49 hbase-regionserver -> /usr/hdp/2.5.3.0-37/hbase lrwxrwxrwx. 1 root root 24 Aug 9 15:49 hive-client -> /usr/hdp/2.5.3.0-37/hive lrwxrwxrwx. 1 root root 24 Aug 9 15:49 hive-metastore -> /usr/hdp/2.5.3.0-37/hive lrwxrwxrwx. 1 root root 24 Aug 9 15:49 hive-server2 -> /usr/hdp/2.5.3.0-37/hive lrwxrwxrwx. 1 root root 25 Aug 9 15:49 hive-server2-hive2 -> /usr/hdp/2.5.3.0-37/hive2 lrwxrwxrwx. 1 root root 33 Aug 9 15:49 hive-webhcat -> /usr/hdp/2.5.3.0-37/hive-hcatalog

Re: HDP Showing wrong version and services are not starting

Expert Contributor

Please provide out of below directory, It should have current and version only.

If 2.6 Directory exit, kinldy remove and start the services ?

host:/usr/hdp # ls -lrt
total 8
drwxr-xr-x 30 root root 4096 Sep 18  2016 2.3.2.0-2950
drwxr-xr-x  2 root root 4096 May 25 01:07 current
host:/usr/hdp #


Re: HDP Showing wrong version and services are not starting

Contributor

[root@ip-172-31-27-163 hdp]# ll

total 8

drwxr-xr-x. 31 root root 4096 Aug 2 01:26 2.5.3.0-37

drwxr-xr-x. 2 root root 4096 Aug 9 15:50 current

drwxr-xr-x. 3 root root 17 Aug 2 01:21 share

[root@ip-172-31-27-163 hdp]# date

Thu Aug 10 02:55:35 EDT 2017 [root@ip-172-31-27-163 hdp]#