Created 08-24-2022 02:50 PM
Dear Friends,
I am upgrading CDH to CDP and getting below error while upgrading. Please help.
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.
Created 08-25-2022 10:19 AM
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.
Created 08-31-2022 05:05 AM
@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.