nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Machado <jom...@me.com>
Subject Re: Disconnect nifi node cluster via API
Date Thu, 22 Feb 2018 16:18:59 GMT
Hi Matt 
thanks for the reply, that’s is what I was looking into it ! 


Jorge Machado
mfg 





> On 22 Feb 2018, at 13:55, Matt Gilman <matt.c.gilman@gmail.com> wrote:
> 
> Jorge,
> 
> A node must be disconnected before it can be removed. If you're looking to invoke the
REST endpoints, I would suggest looking at your browsers Dev Tools to see the requests in
action. Alternatively, you could use the NodeManagerTool [1] that is bundled in the toolkit
[2].
> 
> Matt
> 
> [1] https://github.com/apache/nifi/blob/master/nifi-toolkit/nifi-toolkit-admin/src/main/groovy/org/apache/nifi/toolkit/admin/nodemanager/NodeManagerTool.groovy
<https://github.com/apache/nifi/blob/master/nifi-toolkit/nifi-toolkit-admin/src/main/groovy/org/apache/nifi/toolkit/admin/nodemanager/NodeManagerTool.groovy>
> [2] https://nifi.apache.org/download.html <https://nifi.apache.org/download.html>.
> 
> On Thu, Feb 22, 2018 at 8:12 AM, Charlie Meyer <charlie.meyer@civitaslearning.com
<mailto:charlie.meyer@civitaslearning.com>> wrote:
> On https://nifi.apache.org/docs/nifi-docs/rest-api/index.html <https://nifi.apache.org/docs/nifi-docs/rest-api/index.html>
take a look at DELETE /controller/cluster/nodes/{id}
> 
> That might have what you need. 
> 
> -Charlie
> 
> On Feb 22, 2018 02:19, "Jorge Machado" <jomach@me.com <mailto:jomach@me.com>>
wrote:
> Hi guys, 
> 
> is there an api to disconnect a node from the cluster ? This would be great to securely
automate a rolling restart. 
> 
> 
> Jorge
> 
> 
> 
> 
> 
> 
> 


Mime
View raw message