When I try to install CDH i am getting this error
Command failed to run because service Hive has invalid configuration. Review and correct its configuration. First error: When Hive is configured with Spark On YARN, Hive must also be configured with YARN.
Did anyone else faced the same issue ?
Can you provide further details as @Harsh J has requested?
Click on cloudera manager icon to open in another tab. Click Hive -> configuration tab -> select "YARN" in MapReduce servcie -> select save changes.
Retry cluster setup again.
I solved this problem following above process and successfully set up cdh5 cluster on AWS EC2 instances.
I wanted to share my experience in case it helped a few others out there in the community. In my case I didn't have a Spark gateway on the same node as HS2 (a mis-click on my part). The issue was that the installer would not retry in a proper way (by my standards) even though I went back and fixed the role assignment. All attempts to make the change result in the same error on the same step while trying to finish my cluster install. I haven't disected the installtion but at somepoint prior to the 'final' steps it has already created the cluster layout and configuration in CM. And this can not be changed through the install wizard. I opened CM in another tab. I could see my brand new cluster with all services and a big error icon. I corrected my issue here, making sure the original assignment matched and with the Spark gateway on the HS2 node as well. Then I went back to the other tab with the install wizard and hit 'Retry'. I proceeded and finished my install. This is how you need to handle any errors that come up regarding the configuration and it has already been committed to the CM database.