Skip to main content
mike_bronson7
Gold ⭐️⭐️⭐️
July 5, 2019
Solved

Rolling upgrade to 2.6.5

hi all


we are in the middle of rolling upgrade

we install the HDP 2.6.5 pkgs from ambari

now we perform rolling upgrade

rolling upgrade window say that spark thrift servers are down and in maintenance mode

this is right we stop the spark thrift services since we are not use the SPARK2_THRIFTSERVER , and not want to do spark upgrade


109754-capture.png



109784-capture.png



so only spark clients and spark history are up and running

but rolling upgrade cant continue because ( according to the rolling upgrade message we must to start the spark thrift services and disable the maintenance mode )


109783-capture.png


so how to continue from this stage?


Reason: The following Service Components should be in a started state. Please invoke a service Stop and full Start and try again. SPARK2: SPARK2_THRIFTSERVER (in INSTALLED on host master01.sys674.com)
Failed on: SPARK2



jsensharma
Platinum ⭐️⭐️
July 5, 2019

@Michael Bronson

If you are not using Spark2 currently then you should remove the Spark Service prior to starting the HDP upgrade. (one the upgrade is done then you can install it back)

During the upgrade it is not recommended to Add / Remove any service as it can cause severe DB inconsistency.

.

Following link talks about the Prerequisite of HDP upgrade: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-upgrade/content/upgrading_HDP_prerequisites.html

Following are the snippet from the above link:

Service Maintenance Mode

No Services can be in Maintenance Mode.

Services Started

All Services must be started.


.

9 replies

jsensharma
Platinum ⭐️⭐️
Platinum ⭐️⭐️
July 5, 2019

@Michael Bronson

If you are not using Spark2 currently then you should remove the Spark Service prior to starting the HDP upgrade. (one the upgrade is done then you can install it back)

During the upgrade it is not recommended to Add / Remove any service as it can cause severe DB inconsistency.

.

Following link talks about the Prerequisite of HDP upgrade: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-upgrade/content/upgrading_HDP_prerequisites.html

Following are the snippet from the above link:

Service Maintenance Mode

No Services can be in Maintenance Mode.

Services Started

All Services must be started.


.

Translate
mike_bronson7
Gold ⭐️⭐️⭐️
July 5, 2019

@Dear Jay , we need the spark2 , what we not need is the spark thrift servers ,

so we have two choice

1.remove the thrift servers

2.start the thrift serves and perform the upgrade


am I correct ?

Translate
Michael-Bronson
jsensharma
Platinum ⭐️⭐️
Platinum ⭐️⭐️
July 5, 2019

@Michael Bronson

Yes either option1 or option 2 . If you have not used spark thrift server in your cluster then you can remove it before starting the Upgrade and once the upgrade is done then later whenever you need it then you can just add it by clicking on the individual host page "Add" button.

Translate