Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2274

Cleanup store directories on startup for non-logged store only

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.3
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              bharathkk Bharath Kumarasubramanian
              lhaiesp Hai Lu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h