Not anymore. The assumption is every node in a cluster can become a primary in the event of failover, and has to be configured to be the same across.
Andrew On Thu, Feb 9, 2017, 5:58 AM Joe Gresock <[email protected]> wrote: > Is there a way to request a node to become PRIMARY? I seem to remember > this from 0.x, but can't find a way in 1.x. > > In the PUT /controller/cluster/nodes/{nodeId} documentation, it says "The > node configuration. The only configuration that will be honored at this > endpoint is the status or primary flag." > > However, setting "roles" : ["PRIMARY"] doesn't seem to do anything. Also, > looking at the StandardNiFiServiceFacade code, there doesn't appear to be a > way to do anything but connect or disconnect a node. > > > Thanks, > Joe > > -- > I know what it is to be in need, and I know what it is to have plenty. I > have learned the secret of being content in any and every situation, > whether well fed or hungry, whether living in plenty or in want. I can do > all this through him who gives me strength. *-Philippians 4:12-13* >
