You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Bharath Kumarasubramanian (JIRA)" <ji...@apache.org> on 2019/07/18 16:20:00 UTC
[jira] [Updated] (SAMZA-2274) Cleanup store directories on startup
for non-logged store only
[ https://issues.apache.org/jira/browse/SAMZA-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bharath Kumarasubramanian updated SAMZA-2274:
---------------------------------------------
Summary: Cleanup store directories on startup for non-logged store only (was: ensure logged and non logged store to use different path)
> 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
>
> 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
(v7.6.14#76016)