Created on 03-18-2018 05:16 PM - edited 08-18-2019 12:43 AM
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:
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
Created 03-19-2018 08:25 AM
@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..
Created 03-20-2018 10:59 AM
@Jay this is the head of the file
<?xml version="1.0"?> <repository-version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="version_definition.xsd"> <release> <type>STANDARD</type> <stack-id>HDP-2.6</stack-id> <version>2.6.4.0</version> <build>91</build> <compatible-with>2\.[3-6]\.\d+\.\d+</compatible-with> <release-notes>http://example.com</release-notes> <display>HDP-2.6.4.0</display> </release> <manifest>
Created 03-20-2018 10:59 AM
@Jay maybe we need to restart the ambari-agent after ambari upgrade ?
Created 03-21-2018 07:56 AM
@Jay I will open another thread
because it is complicate and I will give it more simple