Skip to content

Show pipe plugin loading errors in plugin listing#17487

Open
luoluoyuyu wants to merge 10 commits intoapache:masterfrom
luoluoyuyu:feature/show-pipe-plugin-error-message
Open

Show pipe plugin loading errors in plugin listing#17487
luoluoyuyu wants to merge 10 commits intoapache:masterfrom
luoluoyuyu:feature/show-pipe-plugin-error-message

Conversation

@luoluoyuyu
Copy link
Copy Markdown
Member

Description

Add plugin loading exception messages to pipe plugin metadata and expose them through SHOW PIPEPLUGINS and information_schema.pipe_plugins, so users can diagnose initialization and class loading failures directly from query results.


This PR has:

  • been self-reviewed.
    • concurrent read
    • concurrent write
    • concurrent read and write
  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods.
  • added or updated version, license, or notice information
  • added comments explaining the "why" and the intent of the code wherever would not be obvious
    for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold
    for code coverage.
  • added integration tests.
  • been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

Add plugin loading exception messages to pipe plugin metadata and expose them through SHOW PIPEPLUGINS and information_schema.pipe_plugins, so users can diagnose initialization and class loading failures directly from query results.

Made-with: Cursor
@luoluoyuyu
Copy link
Copy Markdown
Member Author

show pipeplugins
image

@luoluoyuyu
Copy link
Copy Markdown
Member Author

show pipe
image

@luoluoyuyu
Copy link
Copy Markdown
Member Author

drop pipeplugin
image

LOGGER.info(exceptionMessage);
throw new PipeException(exceptionMessage);
}
checkPipePluginAvailabilityForPipeCreation(sourcePluginName, "extractor");
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.

Use source/sink?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants