Skip to content

Conversation

@CalvinKirs
Copy link
Member

@CalvinKirs CalvinKirs commented Oct 9, 2024

Proposed changes

in #41100 An exception will be thrown if the user creates the plugin directory but it is empty.
When loading plugins, it's acceptable for the plugin directory to be empty. Users might create the directory without placing any plugins inside, but since some plugins are still located on the classpath, this doesn’t cause any issues. If users specify a particular plugin but don’t place it in the directory, the business logic should handle that situation. The general-purpose class shouldn’t be concerned with this.

It's allowed for the plugin directory to be empty when loading plugins

When loading plugins, it's acceptable for the plugin directory to be empty. Users might create the directory without placing any plugins inside, but since some plugins are still located on the classpath, this doesn’t cause any issues. If users specify a particular plugin but don’t place it in the directory, the business logic should handle that situation. The general-purpose class shouldn’t be concerned with this.
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2024

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 9, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2024

PR approved by anyone and no changes requested.

@CalvinKirs
Copy link
Member Author

run buildall

@CalvinKirs CalvinKirs merged commit 9b25a83 into apache:master Oct 9, 2024
@CalvinKirs CalvinKirs deleted the master-plugins branch October 9, 2024 07:00
eldenmoon pushed a commit to eldenmoon/incubator-doris that referenced this pull request Oct 10, 2024
… loading plugins (apache#41574)

## Proposed changes
in apache#41100 An exception will be thrown if the user creates the plugin
directory but it is empty.
When loading plugins, it's acceptable for the plugin directory to be
empty. Users might create the directory without placing any plugins
inside, but since some plugins are still located on the classpath, this
doesn’t cause any issues. If users specify a particular plugin but don’t
place it in the directory, the business logic should handle that
situation. The general-purpose class shouldn’t be concerned with this.
cjj2010 pushed a commit to cjj2010/doris that referenced this pull request Oct 12, 2024
… loading plugins (apache#41574)

## Proposed changes
in apache#41100 An exception will be thrown if the user creates the plugin
directory but it is empty.
When loading plugins, it's acceptable for the plugin directory to be
empty. Users might create the directory without placing any plugins
inside, but since some plugins are still located on the classpath, this
doesn’t cause any issues. If users specify a particular plugin but don’t
place it in the directory, the business logic should handle that
situation. The general-purpose class shouldn’t be concerned with this.
amorynan pushed a commit to amorynan/doris that referenced this pull request Oct 12, 2024
… loading plugins (apache#41574)

## Proposed changes
in apache#41100 An exception will be thrown if the user creates the plugin
directory but it is empty.
When loading plugins, it's acceptable for the plugin directory to be
empty. Users might create the directory without placing any plugins
inside, but since some plugins are still located on the classpath, this
doesn’t cause any issues. If users specify a particular plugin but don’t
place it in the directory, the business logic should handle that
situation. The general-purpose class shouldn’t be concerned with this.
bobhan1 pushed a commit to bobhan1/doris that referenced this pull request Nov 14, 2024
… loading plugins (apache#41574) (apache#209)

## Proposed changes
in apache#41100 An exception will be thrown if the user creates the plugin
directory but it is empty.
When loading plugins, it's acceptable for the plugin directory to be
empty. Users might create the directory without placing any plugins
inside, but since some plugins are still located on the classpath, this
doesn’t cause any issues. If users specify a particular plugin but don’t
place it in the directory, the business logic should handle that
situation. The general-purpose class shouldn’t be concerned with this.

(cherry picked from commit 9b25a83)
CalvinKirs added a commit to CalvinKirs/incubator-doris that referenced this pull request Jul 1, 2025
… loading plugins (apache#41574)

## Proposed changes
in apache#41100 An exception will be thrown if the user creates the plugin
directory but it is empty.
When loading plugins, it's acceptable for the plugin directory to be
empty. Users might create the directory without placing any plugins
inside, but since some plugins are still located on the classpath, this
doesn’t cause any issues. If users specify a particular plugin but don’t
place it in the directory, the business logic should handle that
situation. The general-purpose class shouldn’t be concerned with this.

(cherry picked from commit 9b25a83)
morrySnow pushed a commit that referenced this pull request Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/3.1.0-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants