bbende / nifi

Mirror of Apache NiFi
Apache License 2.0
1 stars 1 forks source link

Nifi Cluster commands #52

Open ghost opened 6 years ago

ghost commented 6 years ago

It would be nice if the CLI had commands to add/removes nodes to an existing cluster, and setup an initial cluster. Maybe being able to update users/authorizers as well which is important for cluster mode.

bbende commented 6 years ago

You can actually manage the nodes of a cluster through the existing "node manager" tool: https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#node-manager

We will have to see where to draw the line with the intent of the CLI. So far the goal is more for interacting with existing instances, so I could see adding commands for managing users/groups/policies, but I'm not sure about setting up an initial cluster.

ghost commented 6 years ago

I had not seen that node-manager script before, but if there is an existing tool to do it, I agree it is better to keep the CLI focused on adding new capabilities. I was mainly thinking of users/authorizers for the use in clustering, but they would have a more general use also.