Return-Path: X-Original-To: apmail-nifi-commits-archive@minotaur.apache.org Delivered-To: apmail-nifi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3AF4C189DA for ; Thu, 28 Jan 2016 22:26:40 +0000 (UTC) Received: (qmail 10748 invoked by uid 500); 28 Jan 2016 22:26:40 -0000 Delivered-To: apmail-nifi-commits-archive@nifi.apache.org Received: (qmail 10715 invoked by uid 500); 28 Jan 2016 22:26:40 -0000 Mailing-List: contact commits-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list commits@nifi.apache.org Received: (qmail 10679 invoked by uid 99); 28 Jan 2016 22:26:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2016 22:26:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F26542C1F6B for ; Thu, 28 Jan 2016 22:26:39 +0000 (UTC) Date: Thu, 28 Jan 2016 22:26:39 +0000 (UTC) From: "Aldrin Piri (JIRA)" To: commits@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-259) Framework should offer Processors/extensions a way to manage simple state MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122437#comment-15122437 ] Aldrin Piri commented on NIFI-259: ---------------------------------- In the log of the nodes, I don't see any errors that are mapping to this, but there is the following line that references the associated port: {code} 2016-01-28 16:22:39,560 INFO [NiFi Web Server-83] org.apache.zookeeper.ZooKeeper Initiating client connection, connectString="localhost:1181,localhost:2181,localhost:3181" sessionTimeout=30000 watcher=org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider$1@77ad6838 {code} > 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 > > Attachments: error-message.png > > > 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)