Hi Mark,

Thank you for your email.
We're running a standalone instance of NiFi and the state directory
mentioned inside the state-management.xml file is at a fixed specific path
-  /repo/conf/state/
When upgrading NiFi in the past, we never faced this issue but upgrading
from version 1.4.0 to 1.7.1 it seems like the ListS3 state did in-fact
reset regardless of the state data being present.

I do see additional options available within the ListS3 processor
properties however I'm unable to pin-point what the root cause of the issue
could be.

Thank You.

Best Regards,

*Nikhil C.*


---------- Forwarded message ---------
From: Mark Payne <[email protected]>
Date: Wed, Aug 29, 2018 at 12:03 AM
Subject: Re: ListS3 Processor State Defaulted
To: [email protected] <[email protected]>


Nikhil,

Are you running a NiFi cluster or a single/standalone node?

If you're running standalone, state is stored locally on disk. By default,
it is stored in ./state/local
and so you'll want to ensure that you copy over the state/ directory from
your previous install to
the new install or otherwise update your state-management.xml file to point
to the same directory
that lives outside of nifi. I.e., copying this file over from your old
install to the new install, by default,
points to a directory within the nifi installation, so you'll want to
provide the fully-qualified path to the
directory or copy the directory over from the old install.

If you are running in a cluster, then you'll want to ensure that you are
pointing to the same ZooKeeper
instance. If you're running an embedded ZooKeeper, you'll need to ensure
that you copy over the
./state/zookeeper directory from your old installs to your new installs to
ensure that the ZooKeeper data is
kept up-to-date.

Thanks
-Mark


On Aug 28, 2018, at 3:41 AM, Nikhil Chaudhary <[email protected]> wrote:

Hi,

Has anyone else faced an issue when upgrading NiFi from 1.4.0 to 1.7.1, the
ListS3 processor gets defaulted and it starts downloading everything all
over again within that S3 bucket?
The state management file mentioned at
nifi.state.management.configuration.file was kept intact.

Is there some other configurations that we need to be aware of to keep the
state as-is and only continue onwards?

Thank You.

Best Regards,
Nikhil C.

Reply via email to