Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

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.