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

Inline configuration property value #15344

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

Praveen2112
Copy link
Member

Description

Additional context and related issues

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@Praveen2112 Praveen2112 requested review from ebyhr and hashhar December 8, 2022 12:47
@cla-bot cla-bot bot added the cla-signed label Dec 8, 2022
Comment on lines 118 to 121
throw new IllegalArgumentException(format("could not create spill path %s; adjust spiller-spill-path config property or filesystem permissions", path), e);
}
if (!isAccessible(path)) {
throw new IllegalArgumentException(format("spill path %s is not accessible, it must be +rwx; adjust %s config property or filesystem permissions", path, SPILLER_SPILL_PATH));
throw new IllegalArgumentException(format("spill path %s is not accessible, it must be +rwx; adjust spiller-spill-path config property or filesystem permissions", path));
Copy link
Member

Choose a reason for hiding this comment

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

Using SPILLER_SPILL_PATH constant in error messages looks fine to me. When we rename the property, we may forget to update here.

@Praveen2112 Praveen2112 merged commit 8277f18 into trinodb:master Dec 9, 2022
@github-actions github-actions bot added this to the 404 milestone Dec 9, 2022
@@ -251,7 +250,7 @@ public List<Path> getSpillerSpillPaths()
return spillerSpillPaths;
}

@Config(SPILLER_SPILL_PATH)
@Config("spiller-spill-path")
Copy link
Member

Choose a reason for hiding this comment

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

the SPILLER_SPILL_PATH is still defined and still being used. revert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants