hortonworks / ansible-hortonworks

Ansible playbooks for deploying Hortonworks Data Platform and DataFlow using Ambari Blueprints
Apache License 2.0
248 stars 253 forks source link

NIFI_REGISTRY and the server of the LOG #41

Closed aldaher closed 6 years ago

aldaher commented 6 years ago

Hi, could we add those two parameter (NIFI_REGISTRY and the server of the LOG) when we run ansible-hortonworks. thanks

alexandruanghel commented 6 years ago

Hi, sure you can. You can add any blueprint component that Ambari supports to build and as long it doesn't require any special configs (although Ambari will still build it, but the service might not start).

In this case you can add both without problems although I have recently worked on these components to be better supports (for example, to allow you to specify an admin password): NiFi Registry: https://github.com/hortonworks/ansible-hortonworks/commit/71f297e83c667cfdd16a7676efd170584f572b19 Log Search: https://github.com/hortonworks/ansible-hortonworks/commit/8495b24dd6b4ca4896a06739cda2cb0f246f8329

dfmateus commented 6 years ago

Sorry, at my group_vars/all I need to put Wich information to install Nifi Registry and Log Search ?

alexandruanghel commented 6 years ago

There are some examples under the https://github.com/hortonworks/ansible-hortonworks/tree/master/playbooks/group_vars folder. Essentially you have to add the NIFI_REGISTRY_MASTER, LOGSEARCH_LOGFEEDER (on all nodes) and LOGSEARCH_SERVER on the host_groups you want to run them (in the blueprint_dynamic variable).

This is not a simple toggle of install_nifi_registry=true or install_logsearch=true as you have to choose where to run the components, depending on your architecture.

aldaher commented 6 years ago

every things is ok . thanks