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.

Who agreed with this topic

JobHistory server rolegroup cannot be added to HostTemplate

New Contributor

Hi,

I try to create a cluster via cloudera manager api in the following way:
1. create a cluster
2. add hosts to the cluster
3. create HDFS / YARN / ZOOKEEPER services using rolegroups
4. create HostTemplates for master and slave nodes.

My problem is that when I create the master HostTemplate there is no JobHistory role listed among YARN roles. Because of it after I assign the templates to the hosts, jobhistory server will be missing.

Can somebody tell me what's the reason of it, please? I use CDH 5.1.2 with cloudera manager.

My other problem is that if I add the JobHistory server manually via the admin console ui and start the cluster, the example mapreduce jobs cannot be executed. I think the reason is that the value of the yarn.nodemanager.aux-services is empty in yarn-site.xml but the appropriate cloudera manager property set to true (mapreduce_aux_service).

Can somebody explain me the reason of it?

Thanks and regards,
Feri

 

Who agreed with this topic