Ask Your Question
0

Sahara HDP Cluster: error_message=Cluster is missing a service: YARN

asked 2015-12-07 13:37:58 -0500

Aimar47 gravatar image

Hi,

I am running OpenStack Liberty using RDO and tried to setup a HDP 2.0.6 cluster using Sahara. I have defined 2 node group templates with minimum processes such as DataNode and Apache Ambari. After creating the cluster template which includes 1 DataNode and 1 Aapche Ambari server process I have gotten an errror of cluster creation complaining for a missing service as shown in the sahara-api.log file:

Validation Error occurred: error_code=400, error_message=Cluster is missing a service: YARN
Error ID: 72347556-43a6-224a-a445-a2c125512ab1, error_name=MISSING_SERVICE

I Do not have some much experience with HDP but has someone tried out the recent plugin of HDP and which processes should run ?

Thanks !

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-01-12 05:26:51 -0500

You probably missed some of the required services. See for example few more complete templates from the scenario tests used on the gates: https://github.com/openstack/sahara/blob/stable/liberty/etc/scenario/sahara-ci/hdp-2.0.6.yaml.mako (https://github.com/openstack/sahara/b...)

edit flag offensive delete link more
0

answered 2016-02-07 16:27:17 -0500

dbaxps gravatar image

For HDP 2.0.6 follow samples :-

[root@ServerCentOS7 version_2_0_6(keystone_admin)]# cat master.json
{
    "plugin_name": "hdp",
    "hadoop_version": "2.0.6",
    "node_processes": [
        "NAMENODE",
        "AMBARI_SERVER",
        "RESOURCEMANAGER",
        "HISTORYSERVER",
        "ZOOKEEPER_SERVER"
    ],
    "name": "hdp-206-default-master",
    "floating_ip_pool": "{floating_ip_pool}",
    "flavor_id": "{flavor_id}",
    "auto_security_group": "{auto_security_group}",
    "security_groups": "{security_groups}"
}


[root@ServerCentOS7 version_2_0_6(keystone_admin)]# cat worker.json
{
    "plugin_name": "hdp",
    "hadoop_version": "2.0.6",
    "node_processes": [
        "DATANODE",
        "NODEMANAGER"
    ],
    "name": "hdp-206-default-worker",
    "floating_ip_pool": "{floating_ip_pool}",
    "flavor_id": "{flavor_id}",
    "auto_security_group": "{auto_security_group}",
    "security_groups": "{security_groups}
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-07 13:37:58 -0500

Seen: 141 times

Last updated: Feb 07 '16