Open ghost opened 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.
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.
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.