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

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

    [ https://issues.apache.org/jira/browse/NIFI-10848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641383#comment-17641383 ] 

Wynner commented on NIFI-10848:
-------------------------------

[~pvillard] Is there a plan to include this Jira this quarter or next?

> 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
>            Assignee: Simon Bence
>            Priority: Major
>
> 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)