Skip to content

Error Store should not require a storage spec #27

Closed

Description

@zhilingc

The error store should be defined on deployment (of core), and should not require a spec.

Activity

  1. self-assigned this
    on Jan 2, 2019
  2. self-assigned this
    on Jan 3, 2019
  3. tims commented on Jan 3, 2019

    @tims
    Contributor

    Can you clarify how would you like to tell ingestion where to store the errors?

  4. zhilingc commented on Jan 3, 2019

    @zhilingc
    CollaboratorAuthor

    Currently my plan is to pass it in as 2 separate options:
    --errorsStoreType: one of [file.json, stderr, stdout] - type of errors store to write to
    --errorsStoreOptions: map of options for the errors store

    These would be defined in the config for core feast deployment

    is this ok @tims?

  5. tims commented on Jan 3, 2019

    @tims
    Contributor

    That looks suspiciously like a storage spec :)

    If we're committed to just files and logs.. we could just log to stderr by default if a file path isn't provided?

    I imagine we might want avro or parquet too though... hmm.

    Would errorsStoreOptions be comma separated kvs? eg. x=1,y=2

  6. zhilingc commented on Jan 3, 2019

    @zhilingc
    CollaboratorAuthor

    Sorry, I realised the issue was poorly worded: I meant we should not give error stores the same treatment as other storage specs currently.

    The fact that it (1) has to be registered (2) can be retrieved together with all other specs and (3) can be written to as a regular warehouse store by ingestion jobs is what i want to change.

    At the same time it would be nice to retain the flexibility to add other potential error store formats in the future, which is why I've split its definition into type and options.

    Would errorsStoreOptions be comma separated kvs? eg. x=1,y=2

    I was thinking json e.g. {"path":"/path/to/file",...} maybe, but I'm not sure...

  7. tims commented on Jan 6, 2019

    @tims
    Contributor

    I think json is ok, as long as it doesn't cause any shell escaping issues for the core api?

    reviewing the rest now

  8. added a commit that references this issue on Jul 2, 2024
  9. added a commit that references this issue on Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions