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

[Discussion] Do we have presto native worker deployment guide? #21242

Closed
xumingming opened this issue Oct 25, 2023 · 7 comments
Closed

[Discussion] Do we have presto native worker deployment guide? #21242

xumingming opened this issue Oct 25, 2023 · 7 comments

Comments

@xumingming
Copy link
Contributor

I know there is a DEVELOPMENT guide for presto native worker(https://github.com/prestodb/presto/tree/master/presto-native-execution), do we have DEPLOYMENT guide for deploying presto native worker in linux production environment?

@aditi-pandit
Copy link
Contributor

@xumingming : We do not. There is some experience related to production deployments at Meta, Bytedance that will be presented at PrestoCon Dec 2023. We can consolidate the presentations to a writeup for the github/site.

Would be great if you could outline more specific questions you have about deployment (here or in other issues), and we can consolidate those as well.

@xumingming
Copy link
Contributor Author

@aditi-pandit Do not have very specific questions now, was hoping there is a simple step-by-step doc I can follow to setup a presto native worker cluster for future test like perf test.

@aditi-pandit
Copy link
Contributor

@xumingming : You can start with setting up a native worker cluster using docker-compose from https://github.com/prestodb/prestorials/tree/main/docker-compose-native

@xumingming
Copy link
Contributor Author

@aditi-pandit Thanks, I will give it a try.

@xumingming
Copy link
Contributor Author

@aditi-pandit I have specific questions now :(

I didn't fully follow the docker compose guide(https://github.com/prestodb/prestorials/tree/main/docker-compose-native), but the docker compose guide & the development guide did give me some hints, I have done the following:

  1. I started a Presto Java Coordinator successfully.
  2. I started a native worker with discovery.uri pointing to the java coordinator(http://127.0.0.1:8080) with the command:
./presto_server --logtostderr=1 --v=1 --velox_exception_user_stacktrace_enabled=true

The native worker seems started successfully, because I saw the following in stdout:

1028 21:29:46.791427   451 PeriodicServiceInventoryManager.cpp:99] Announcement succeeded: HTTP 202

But from Presto UI, the worker count does not include the native worker, there is only one worker(the java coordinator itself.), What could be the problem?

@aditi-pandit
Copy link
Contributor

@minhancao @SVM @wanglinsong ☝️

@xumingming
Copy link
Contributor Author

No response and not a big deal, closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Status: Done
Development

No branches or pull requests

3 participants