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

Add remote function server binary #6104

Closed
wants to merge 1 commit into from

Conversation

pedroerp
Copy link
Contributor

Summary:
Adding a binary target that can run and expose the test remote
function server. This will be used by Presto end-to-end query tests.

Differential Revision: D48328189

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 14, 2023
@netlify
Copy link

netlify bot commented Aug 14, 2023

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 085fe42
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/64da9cfdab6a2700088b7cfe

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48328189

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48328189

pedroerp added a commit to pedroerp/velox-1 that referenced this pull request Aug 14, 2023
Summary:
Pull Request resolved: facebookincubator#6104

Adding a binary target that can run and expose the test remote
function server. This will be used by Presto end-to-end query tests.

Differential Revision: D48328189

fbshipit-source-id: 6f2b95ba17344a5a61dc43736c9fc845417eb359
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48328189

pedroerp added a commit to pedroerp/velox-1 that referenced this pull request Aug 14, 2023
Summary:
Pull Request resolved: facebookincubator#6104

Adding a binary target that can run and expose the test remote
function server. This will be used by Presto end-to-end query tests.

Differential Revision: D48328189

fbshipit-source-id: 8ae635b070dd34f3a9eab83b791474c9dc84e3da
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48328189

pedroerp added a commit to pedroerp/velox-1 that referenced this pull request Aug 14, 2023
Summary:
Pull Request resolved: facebookincubator#6104

Adding a binary target that can run and expose the test remote
function server. This will be used by Presto end-to-end query tests.

Also adding a couple of tweaks to the server handler implementation.

Differential Revision: D48328189

fbshipit-source-id: 97a380075914af35600c1a5155870e2b0aefd7ba
Copy link
Contributor

@kgpai kgpai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

using namespace ::facebook::velox;
using ::apache::thrift::ThriftServer;

int main(int argc, char* argv[]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe comment on this executable and how its supposed to be invoked and that its pretty barebones right now etc intentionally (?)..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, will add. This is supposed to be pretty bare bones indeed and only used for testing. Basically we need a binary to run in CI and initialized the remote function server for Presto e2e tests.

I'll add some comments to clarify.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If its for test purposes should it be inside a test dir ?

auto server = std::make_shared<ThriftServer>();
server->setInterface(handler);
server->setAddress(location);
server->serve();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe there should be a log after initialization saying initilzation succesful ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the thrift handler itself logs a few messages regarding its status

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah good to know !

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48328189

pedroerp added a commit to pedroerp/velox-1 that referenced this pull request Aug 14, 2023
Summary:
Pull Request resolved: facebookincubator#6104

Adding a binary target that can run and expose the test remote
function server. This will be used by Presto end-to-end query tests.

Also adding a couple of tweaks to the server handler implementation.

Reviewed By: kgpai

Differential Revision: D48328189

fbshipit-source-id: b2c8a826382e161579b769f6ab2b006da292b938
Summary:
Pull Request resolved: facebookincubator#6104

Adding a binary target that can run and expose the test remote
function server. This will be used by Presto end-to-end query tests.

Also adding a couple of tweaks to the server handler implementation.

Reviewed By: kgpai

Differential Revision: D48328189

fbshipit-source-id: bc1e16f9ca5c57b9d98de36248c5f1f8d67f5bf4
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D48328189

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f59979e.

@conbench-facebook
Copy link

Conbench analyzed the 1 benchmark run on commit f59979e2.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

unigof pushed a commit to unigof/velox that referenced this pull request Aug 18, 2023
Summary:
Pull Request resolved: facebookincubator#6104

Adding a binary target that can run and expose the test remote
function server. This will be used by Presto end-to-end query tests.

Also adding a couple of tweaks to the server handler implementation.

Reviewed By: kgpai

Differential Revision: D48328189

fbshipit-source-id: 7fbfa7cbc458fba6945e06e67dbb8394d0a13412
ericyuliu pushed a commit to ericyuliu/velox that referenced this pull request Oct 12, 2023
Summary:
Pull Request resolved: facebookincubator#6104

Adding a binary target that can run and expose the test remote
function server. This will be used by Presto end-to-end query tests.

Also adding a couple of tweaks to the server handler implementation.

Reviewed By: kgpai

Differential Revision: D48328189

fbshipit-source-id: 7fbfa7cbc458fba6945e06e67dbb8394d0a13412
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants