[
https://issues.apache.org/jira/browse/NIFI-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122379#comment-15122379
]
Aldrin Piri commented on NIFI-259:
----------------------------------
Been digging in a bit more and had a couple of questions:
* How are the zookeeper logs handled? I don't seem to have them showing up in
the NiFi logs, nor do I seem to see them showing up in the state directory.
* Is the use of ZK in a standalone mode something that should be feasible? If
not, perhaps we should provide some explicit checks for this kind of
configuration when we try to start up. Tried this both with an embedded and
external instance and while NiFi started up in each case, any state features
were not working
* There is a typo when trying to access inaccessible state:
{quote}
Unable to get the state for the specified component
3c0f6469-374f-4ca2-ade3-e1db93f7cafb: java.io.IOException: Cannot update or
retrieve cluster state becuase node is no longer connected to a cluster
{quote}
> Framework should offer Processors/extensions a way to manage simple state
> -------------------------------------------------------------------------
>
> Key: NIFI-259
> URL: https://issues.apache.org/jira/browse/NIFI-259
> Project: Apache NiFi
> Issue Type: Sub-task
> Components: Core Framework
> Reporter: Joseph Witt
> Assignee: Mark Payne
> Fix For: 0.5.0
>
>
> It is not uncommon for processors to need managed state which persists
> across restarts. One good example of this is the GetHTTP processor which
> needs to save state of the last cache/e-tag information it received from the
> server it interacts with so that it can avoid constantly pulling an unchanged
> resource.
> Rather than making processors roll their own persistant state management
> perhaps we can offer something to them via the ProcessContext which will
> allow them to save simple primitive values and limited length Strings which
> are local to that node and which are local to that processor only.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)