Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Missing service dependency for Hive: YARN

Solved Go to solution

Missing service dependency for Hive: YARN

New Contributor

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

Accepted Solutions
Highlighted

Re: Missing service dependency for Hive: YARN

Master Collaborator

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

Re: Missing service dependency for Hive: YARN

Master Collaborator

@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

Highlighted

Re: Missing service dependency for Hive: YARN

New Contributor

Thank you @GangWar, that fixed my issue.

Don't have an account?
Coming from Hortonworks? Activate your account here