diff --git a/playbooks/cloudera.yml b/playbooks/cloudera.yml index 5db6cb3..57d0479 100644 --- a/playbooks/cloudera.yml +++ b/playbooks/cloudera.yml @@ -14,8 +14,8 @@ roles: - cloudera-agent -- name: "setup mysql on master nodes" - hosts: master-nodes +- name: "setup mysql on cloudera manager node" + hosts: cm_node any_errors_fatal: true become: yes pre_tasks: diff --git a/playbooks/library/cloudera/cluster.yaml.j2 b/playbooks/library/cloudera/cluster.yaml.j2 index d445696..241390a 100644 --- a/playbooks/library/cloudera/cluster.yaml.j2 +++ b/playbooks/library/cloudera/cluster.yaml.j2 @@ -161,7 +161,7 @@ services: HIVE: config: hive_metastore_database_host: {{ groups['cm_node'][0] }} - hive_metastore_database_name: hive + hive_metastore_database_name: metastore hive_metastore_database_user: metastore hive_metastore_database_password: {{ hive_pass }} hive_metastore_database_port: 3306