Skip to content

[Native] Session property manager pass configs to bootstrap#25553

Merged
kevintang2022 merged 1 commit into
prestodb:masterfrom
kevintang2022:export-D78415640
Jul 22, 2025
Merged

[Native] Session property manager pass configs to bootstrap#25553
kevintang2022 merged 1 commit into
prestodb:masterfrom
kevintang2022:export-D78415640

Conversation

@kevintang2022

@kevintang2022 kevintang2022 commented Jul 16, 2025

Copy link
Copy Markdown
Contributor

Summary: Currently, session property manager has an unused parameter called properties so that even if a config is set in a file, for example /etc/session-property-providers/native-worker.properties, the configs are not correctly used.

Differential Revision: D78415640

== RELEASE NOTES ==

General Changes
* Fix native session property manager reading plugin configs from file

@kevintang2022 kevintang2022 requested review from a team as code owners July 16, 2025 15:28
@prestodb-ci prestodb-ci added the from:Meta PR from Meta label Jul 16, 2025
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

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

kevintang2022 added a commit to kevintang2022/presto that referenced this pull request Jul 16, 2025
Summary:

Currently, session property manager has an unused parameter called `properties` so that even if a config is set in a file, for example `/etc/session-property-providers/native-worker.properties`, the configs are not correctly used.

Differential Revision: D78415640
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

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

@rschlussel

Copy link
Copy Markdown
Contributor

nice fix! Can you add a test for this?

@aditi-pandit aditi-pandit changed the title Session property manager pass configs to bootstrap [Native] Session property manager pass configs to bootstrap Jul 16, 2025
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

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

kevintang2022 added a commit to kevintang2022/presto that referenced this pull request Jul 16, 2025
Summary:
Pull Request resolved: prestodb#25553

Currently, session property manager has an unused parameter called `properties` so that even if a config is set in a file, for example `/etc/session-property-providers/native-worker.properties`, the configs are not correctly used.

Differential Revision: D78415640
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

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

kevintang2022 added a commit to kevintang2022/presto that referenced this pull request Jul 16, 2025
Summary:
Pull Request resolved: prestodb#25553

Currently, session property manager has an unused parameter called `properties` so that even if a config is set in a file, for example `/etc/session-property-providers/native-worker.properties`, the configs are not correctly used.

Differential Revision: D78415640
@tdcmeehan tdcmeehan requested a review from pdabre12 July 17, 2025 00:21

@tdcmeehan tdcmeehan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Question about the tests

Comment thread presto-tests/src/main/java/com/facebook/presto/tests/DistributedQueryRunner.java Outdated
kevintang2022 added a commit to kevintang2022/presto that referenced this pull request Jul 17, 2025
Summary:

Currently, session property manager has an unused parameter called `properties` so that even if a config is set in a file, for example `/etc/session-property-providers/native-worker.properties`, the configs are not correctly used.

Differential Revision: D78415640
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

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

kevintang2022 added a commit to kevintang2022/presto that referenced this pull request Jul 17, 2025
Summary:

Currently, session property manager has an unused parameter called `properties` so that even if a config is set in a file, for example `/etc/session-property-providers/native-worker.properties`, the configs are not correctly used.

Differential Revision: D78415640
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

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

@kevintang2022 kevintang2022 requested a review from tdcmeehan July 17, 2025 15:04

@pdabre12 pdabre12 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @kevintang2022 , have some comments.

Comment thread presto-tests/src/main/java/com/facebook/presto/tests/DistributedQueryRunner.java Outdated
Comment thread presto-tests/src/main/java/com/facebook/presto/tests/DistributedQueryRunner.java Outdated
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

@kevintang2022 has imported this pull request. If you are a Meta employee, you can view this in D78415640.

tdcmeehan
tdcmeehan previously approved these changes Jul 22, 2025
kevintang2022 added a commit to kevintang2022/presto that referenced this pull request Jul 22, 2025
Summary:

Currently, session property manager has an unused parameter called `properties` so that even if a config is set in a file, for example `/etc/session-property-providers/native-worker.properties`, the configs are not correctly used.

Differential Revision: D78415640
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

@kevintang2022 has imported this pull request. If you are a Meta employee, you can view this in D78415640.

tdcmeehan
tdcmeehan previously approved these changes Jul 22, 2025

@tdcmeehan tdcmeehan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing this!

@pdabre12 pdabre12 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@kevintang2022 Just one comment

Summary:

Currently, session property manager has an unused parameter called `properties` so that even if a config is set in a file, for example `/etc/session-property-providers/native-worker.properties`, the configs are not correctly used.

Differential Revision: D78415640
@facebook-github-bot

Copy link
Copy Markdown
Collaborator

@kevintang2022 has imported this pull request. If you are a Meta employee, you can view this in D78415640.

@kevintang2022 kevintang2022 requested a review from pdabre12 July 22, 2025 17:07

@pdabre12 pdabre12 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@amitkdutta amitkdutta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@kevintang2022 kevintang2022 merged commit a31cccf into prestodb:master Jul 22, 2025
110 checks passed
@prestodb-ci prestodb-ci mentioned this pull request Jul 28, 2025
6 tasks
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 2, 2025
…#25553)

Summary: Currently, session property manager has an unused parameter
called `properties` so that even if a config is set in a file, for
example `/etc/session-property-providers/native-worker.properties`, the
configs are not correctly used.

Differential Revision: D78415640

```
== RELEASE NOTES ==

General Changes
* Fix native session property manager reading plugin configs from file
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
…#25553)

Summary: Currently, session property manager has an unused parameter
called `properties` so that even if a config is set in a file, for
example `/etc/session-property-providers/native-worker.properties`, the
configs are not correctly used.

Differential Revision: D78415640

```
== RELEASE NOTES ==

General Changes
* Fix native session property manager reading plugin configs from file
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
…#25553)

Summary: Currently, session property manager has an unused parameter
called `properties` so that even if a config is set in a file, for
example `/etc/session-property-providers/native-worker.properties`, the
configs are not correctly used.

Differential Revision: D78415640

```
== RELEASE NOTES ==

General Changes
* Fix native session property manager reading plugin configs from file
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
…#25553)

Summary: Currently, session property manager has an unused parameter
called `properties` so that even if a config is set in a file, for
example `/etc/session-property-providers/native-worker.properties`, the
configs are not correctly used.

Differential Revision: D78415640

```
== RELEASE NOTES ==

General Changes
* Fix native session property manager reading plugin configs from file
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
…#25553)

Summary: Currently, session property manager has an unused parameter
called `properties` so that even if a config is set in a file, for
example `/etc/session-property-providers/native-worker.properties`, the
configs are not correctly used.

Differential Revision: D78415640

```
== RELEASE NOTES ==

General Changes
* Fix native session property manager reading plugin configs from file
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
…#25553)

Summary: Currently, session property manager has an unused parameter
called `properties` so that even if a config is set in a file, for
example `/etc/session-property-providers/native-worker.properties`, the
configs are not correctly used.

Differential Revision: D78415640

```
== RELEASE NOTES ==

General Changes
* Fix native session property manager reading plugin configs from file
lga-zurich pushed a commit to lga-zurich/presto-exchange that referenced this pull request Sep 8, 2025
…#25553)

Summary: Currently, session property manager has an unused parameter
called `properties` so that even if a config is set in a file, for
example `/etc/session-property-providers/native-worker.properties`, the
configs are not correctly used.

Differential Revision: D78415640

```
== RELEASE NOTES ==

General Changes
* Fix native session property manager reading plugin configs from file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants