You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Benjamin Garrett <be...@gmail.com> on 2019/05/07 15:30:29 UTC
migrate state for local to cluster transition
Hi,
We want to change a nifi 1.9.2 instance from local to clustered mode. We
want to maintain 'state' when this happens. What are our options? We
tried google, etc. and haven't turned up anything definitive in the
documentation or nifi tools.
We experimented with transitioning a 1.9.2 instance from local to clustered
and it appeared that it remembered the local state BUT it did not seem to
actually use that state when the processor ran.
Otherwise we are thinking of writing our own migration tool piecing
together the state provider code for local vs. zookeeper, etc.
Thanks in advance!
Ben
Re: migrate state for local to cluster transition
Posted by Jeff <jt...@gmail.com>.
Hello Ben,
In NiFi Toolkit, the Zookeeper Migrator exists to move state from one ZK
quorum to another, but to my knowledge, there's no local-to-cluster
migrator. There is a JIRA [1] for this functionality, but it's currently
unassigned, and I haven't heard about any work being done for it.
[1] https://issues.apache.org/jira/browse/NIFI-4088
On Tue, May 7, 2019 at 11:30 AM Benjamin Garrett <
benjamingarrett99@gmail.com> wrote:
> Hi,
>
> We want to change a nifi 1.9.2 instance from local to clustered mode. We
> want to maintain 'state' when this happens. What are our options? We
> tried google, etc. and haven't turned up anything definitive in the
> documentation or nifi tools.
>
> We experimented with transitioning a 1.9.2 instance from local to
> clustered and it appeared that it remembered the local state BUT it did not
> seem to actually use that state when the processor ran.
>
> Otherwise we are thinking of writing our own migration tool piecing
> together the state provider code for local vs. zookeeper, etc.
>
> Thanks in advance!
> Ben
>