Skip to main content
hitachi_ben
Silver ⭐️
October 22, 2020
Solved

Missing service dependency for Hive: YARN

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!

GangWar
GangWarAnswer
Platinum ⭐️⭐️
October 22, 2020

@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.

2 replies

GangWar
Platinum ⭐️⭐️
GangWarAnswer
Platinum ⭐️⭐️
October 22, 2020

@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. 

Translate
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.
hitachi_ben
Silver ⭐️
October 22, 2020

Thank you @GangWar, that fixed my issue.

Translate