You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2022/11/21 15:24:00 UTC

[jira] [Created] (NIFI-10848) Need ability to clear framework state

Mark Payne created NIFI-10848:
---------------------------------

             Summary: Need ability to clear framework state
                 Key: NIFI-10848
                 URL: https://issues.apache.org/jira/browse/NIFI-10848
             Project: Apache NiFi
          Issue Type: New Feature
          Components: Core Framework
            Reporter: Mark Payne


We need the ability to clear the NiFi Framework's state. Currently, we store local state using a single Write-Ahead Log for all components, including framework. Users are able to right-click on a component such as a Processor and click "View state" and then "Clear state." However, there's no way to do this for the framework.

This can be important when troubleshooting. For example, if a node is suddenly removed and cannot be contacted, we may want to clear all cluster state and restart NiFi. Currently, there's no way to do that other than to delete the local state directory. Deleting that directory, however, will clear state for all components.

Potential options would include:
 * Separate out the storage of state into individual directories for each component
 * Separate out storage of state into 'framework' and 'extensions'
 * Keep state storage as-is and introduce something into toolkit that allows updating the write-ahead log to clear state

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)