[
https://issues.apache.org/jira/browse/SAMZA-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hai Lu updated SAMZA-2274:
--------------------------
Fix Version/s: 1.3
> Cleanup store directories on startup for non-logged store only
> --------------------------------------------------------------
>
> Key: SAMZA-2274
> URL: https://issues.apache.org/jira/browse/SAMZA-2274
> Project: Samza
> Issue Type: Bug
> Reporter: Hai Lu
> Assignee: Bharath Kumarasubramanian
> Priority: Major
> Fix For: 1.3
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> currently logged and non logged store ("job.logged.store.base.dir" and
> "job.non-logged.store.base.dir") return the same default values if not set.
> This is problematic because we always clean up non-logged store path when
> starting up, which would end up eliminating the logged store content as well
> and cause major data/state loss. The proposed fix here is:
> 1) logged and non logged store should pick different default values
> 2) we explicitly do a validation that these two configs are set to different;
> throw exceptions otherwise
> 3) update our config documentation about these two configs
--
This message was sent by Atlassian Jira
(v8.3.4#803005)