Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

4 Required subjects before upgrade

avatar

we are in the stage before the upgrade , ( but we see 4 requirements that need to be solve )

message is - You must meet these requirements before you can proceed.

example:

64688-capture.png

64690-capture1.png

but the requirement not really true

we check the services and we not found any service that is in maintenance mode

second all services in the clsuter are started and up

and nothing that described in requirements is true

so my question is

what we can do in this stage ?

we cant do upgrade! ,

and actually we cant uninstall because we not see any option to uninstall !!!

please advice regarding this case

Michael-Bronson
1 ACCEPTED SOLUTION

avatar
Master Mentor

@Michael Bronson
I see 4 messages in your Initial Issue description.

Message-1).

Verify Cluster Components Exist In Target Repository 


This kind of message can appear while starting upgrades if we have installed some custom services to our cluster which are not part of the HDP version that we are going to install. For example if you have some third party services installed in your cluster which are not coming from HDP repo then you will have to remove them before you begin the HDP upgrade.


Message-2).

All service components must be installed 


This messages indicates that you might have some services installed to your cluster which migth have some components in "INSTALL_FAILED" state.

# curl -u admin:admin -H "X-Requested-By: ambari" -X GET http://hdfcluster1.example.com:8080/api/v1/clusters/TestCluster/host_components?HostRoles/state=INST...


If you find any component in install failed state then please install them properly before starting the upgrade.

In some cases it might happen if the clients components might not be installed on few cluster hosts. So please check if you have CLIENT components installed properly on your cluster nodes. If not then use the following API aapproach to install the CLIENTs to your cluster nodes. (or install them using Ambari UI)

https://community.hortonworks.com/content/supportkb/150098/how-to-install-hadoop-clients-on-all-the-...

Message-3).

No Service can be in maintenance mode.


You can not start HDP upgrade if any of your service is in Maintenance mode so please run the following API call before upgrading HDp to findout if there are any Services in Maintenance Mode or not? Also similar approach you will need to use to check that all Host Components are also not in Maintenance Mode .

# curl -u admin:admin -H "X-Requested-By: ambari" -X GET http://hdfcluster1.example.com:8080/api/v1/clusters/TestCluster/services?ServiceInfo/maintenance_sta...


Message-4).

All Services must be started.


This message indicates that we can not start HDP component upgrades before all the components are already in running state. So we need to make sure that all the components / services are in Started stated. Also please make sure that we must run all the service checks successfully before we begin the HDP component upgrade to verify that all the components are in healthy state..

View solution in original post

32 REPLIES 32

avatar
Master Mentor

@Michael Bronson

Can you share the Ambari UI screenshot of the cluster to be upgraded?
Those are basic pre-requisites

avatar
for this time I cant because securty aspect , but I can tell you for sure that all services are up

Michael-Bronson

avatar

second , why we cant uninstall ( this option not defined in ambari GUI )

Michael-Bronson

avatar
Master Mentor

@Michael Bronson

Visually I can't tell at what stage you'd reached with the upgrade. What is the version of the current HDP cluster, I could try to reproduce it if I have a similar version?

Have you tried restarting all the ambari-agents maybe it lost connection while pooling because that looks a queer message if the your components are running and not in maintenance mode 🙂



avatar

the current version is HDP-2.6.0.3 and the target is to upgrade the version to 2.6.4.0 , yes we restart all ambari agents and ambari server but this action not help , ( and no any service that run in mantence mode , we check that twice )

Michael-Bronson

avatar
Master Mentor

@Michael Bronson

You forgot the source HDP version ... 🙂

avatar

sorry - HDP-2.6.0.3

Michael-Bronson

avatar

@Geoffrey Shelton Okot is it possible to do uninstall , as was before the install?

Michael-Bronson

avatar

another interning thing we see that repo is :

why - repo-52-repo-54 ? , even yum clean all not help!


more ambari-hdp-54.repo [HDP-2.6-repo-52-repo-54] name=HDP-2.6-repo-52-repo-54 baseurl=http://master02.sys65.com/HDP/centos7/2.6.4.0-91 path=/ enabled=1 gpgcheck=0 [HDP-UTILS-1.1.0.22-repo-52-repo-54] name=HDP-UTILS-1.1.0.22-repo-52-repo-54 baseurl=http://master02.sys65.com path=/ enabled=1 gpgcheck=0
Michael-Bronson