Support Questions

Find answers, ask questions, and share your expertise

CDP upgrade from CDH

avatar
Contributor

Dear Friends,

I am upgrading CDH to CDP and getting below error while upgrading. Please help.

 

 Show All Steps  Show Only Failed Steps  Show Only Running Steps
  
Converting configuration parameters
Failed due to java.lang.IllegalStateException: HS2 role count in Hive and Hive on Tez services should match.
 

 

Failed due to java.lang.IllegalStateException: HS2 role count in Hive and Hive on Tez services should match
java.lang.IllegalStateException: HS2 role count in Hive and Hive on Tez services should match. 

2 REPLIES 2

avatar
Super Collaborator

@mohammad_shamim 

 

There is no other workaround for "HS2 role count in Hive and Hive on Tez services should match" other than making the role counts match. You need to add as many HS2 instances in HiveOnTez services as there are in Hive service prior the upgrade. The upgrade process requires this so that configuration from cdh HS2 instances can be mapped to cdp HS2 instances in a 1-to-1 fashion.

 

Can you please try adding Roles?

 

If you found this response assisted with your query, please take a moment to log in and click on  KUDOS 🙂 & ”Accept as Solution" below this post.

avatar
Master Collaborator

@mohammad_shamim Did you have Hive HA configured in CDH cluster, in that case, you need to make sure that there are equal number of HS2 instances created in the CDP cluster, because without that HA cannot be attained. Also, make sure that there is no Hiveserver2 instance created under "Hive" service in CDP. It should only be present under Hive on Tez service.