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

[Feature] Need a simple tool to query data in the store (e.g. for debugging/troubleshooting) #380

Open
1 of 9 tasks
dlg99 opened this issue Apr 26, 2023 · 0 comments
Open
1 of 9 tasks
Labels
enhancement New feature or request

Comments

@dlg99
Copy link
Contributor

dlg99 commented Apr 26, 2023

Willingness to contribute

No. I cannot contribute a bug fix at this time.

Feature Request Proposal

Venice's docker image should package a simple documented tool/script to query the data

I tried using java -jar /opt/venice/bin/venice-admin-tool-all.jar --query .. but it returns "Schema of store: .. doesn't exist" error. This is a documented way

"clients/venice-thin-client/bin/query_key.sh" (Suggested on slack) is not packaged in the docker image.

Working way is to use java -jar /opt/venice/bin/venice-thin-client-all.jar $storeName $key $router false "" on the venice-client

Motivation

What is the use case for this feature?

Troubleshooting / testing

Details

https://venicedb.slack.com/archives/C03SLQWRSLF/p1682546829621559

What component(s) does this bug affect?

  • Controller: This is the control-plane for Venice. Used to create/update/query stores and their metadata.
  • Router: This is the stateless query-routing layer for serving read requests.
  • Server: This is the component that persists all the store data.
  • VenicePushJob: This is the component that pushes derived data from Hadoop to Venice backend.
  • Thin Client: This is a stateless client users use to query Venice Router for reading store data.
  • Fast Client: This is a stateful client users use to query Venice Server for reading store data.
  • Da Vinci Client: This is an embedded, stateful client that materializes store data locally.
  • Samza: This is the library users use to make nearline updates to store data.
  • Admin Tool: This is the stand-alone client used for ad-hoc operations on Venice.
@dlg99 dlg99 added the enhancement New feature or request label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant