[
https://issues.apache.org/jira/browse/APEXMALHAR-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213315#comment-15213315
]
Timothy Farkas commented on APEXMALHAR-2031:
--------------------------------------------
[~thw] This was done for a customer and the use case is as follows:
- There is an application which could have a cold restart done on it.
- There is an operator with some state. Let's say the operator's state is a map.
When the application has a cold restart, the old state of the operator needs to
be reloaded, so that the application can resume from it's previous state. A
quick way to do this is to use Window Data Manager to store the state of the
operator at the end of each window. Then when the application is restarted the
operator can grab the file corresponding to the most recent window and load the
data in to the map.
Window Data Manager is a quick way to accomplish this, and this ticket proposes
a very minimal change which allows the user to specify an absolute path for the
window data files as opposed to just a relative path in the application
directory.
In this use case the application could not be restarted with the same
application Id because an upgraded application with different binaries may need
to be started. Please talk to Pramod if you need more details about the use
case.
> Allow Window Data Manager to store data in a user specified directory
> ---------------------------------------------------------------------
>
> Key: APEXMALHAR-2031
> URL: https://issues.apache.org/jira/browse/APEXMALHAR-2031
> Project: Apache Apex Malhar
> Issue Type: Improvement
> Reporter: Timothy Farkas
> Assignee: Chandni Singh
>
> The Window Data Manager stores data in the application path, but some uses
> require the data to be stored in a user definable absolute path so that the
> data can be reused across different application launches.
> This update is required for one of our users.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)