Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Missing service dependency for Hive: YARN

avatar
Explorer

Hi Community. I am getting an error starting Hive in Cloudera Manager, CDP7. The error reads, "Command failed to run because service Hive has an invalid configuration. Review and correct its configuration. First error: Missing service dependency for Hive: YARN".

 

How do I add the YARN dependency to an existing Hive service? Reinstalling Hive is not a really practical solution. Is there any way to add the dependency without reinstalling Hive?

 

Thanks!

1 ACCEPTED SOLUTION

avatar
Master Guru

@hitachi_ben Go to CM > Hive > Configuration and then set MapReduce Service to YARN. For example below. 

 

Screenshot 2020-10-22 at 7.37.00 PM.png

 

Let me know if this helps. 


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

View solution in original post

2 REPLIES 2

avatar
Master Guru

@hitachi_ben Go to CM > Hive > Configuration and then set MapReduce Service to YARN. For example below. 

 

Screenshot 2020-10-22 at 7.37.00 PM.png

 

Let me know if this helps. 


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Explorer

Thank you @GangWar, that fixed my issue.