Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Store should not require a storage spec #27

Closed
zhilingc opened this issue Jan 2, 2019 · 5 comments
Closed

Error Store should not require a storage spec #27

zhilingc opened this issue Jan 2, 2019 · 5 comments
Assignees

Comments

@zhilingc
Copy link
Collaborator

zhilingc commented Jan 2, 2019

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

@pradithya pradithya self-assigned this Jan 2, 2019
@zhilingc zhilingc self-assigned this Jan 3, 2019
@tims
Copy link
Contributor

tims commented Jan 3, 2019

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

@zhilingc
Copy link
Collaborator Author

zhilingc commented Jan 3, 2019

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?

@tims
Copy link
Contributor

tims commented Jan 3, 2019

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

@zhilingc
Copy link
Collaborator Author

zhilingc commented Jan 3, 2019

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...

@tims
Copy link
Contributor

tims commented Jan 6, 2019

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

reviewing the rest now

dmartinol pushed a commit to dmartinol/feast that referenced this issue Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants