Skip to content

[Pipe] Allow startup when a plugin JAR is unavailable - #18496

Open
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix/pipe-plugin-missing-jar-startup-master
Open

[Pipe] Allow startup when a plugin JAR is unavailable#18496
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix/pipe-plugin-missing-jar-startup-master

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

When ConfigNode cannot provide a registered Pipe plugin JAR, DataNode startup currently fails. This change records the affected plugin load failures, logs them at ERROR, skips unavailable plugins, and allows DataNode startup to continue.

The fetch path now also handles unsuccessful or malformed ConfigNode responses, validates the returned JAR count, and isolates individual JAR save failures. The recorded failure remains visible through SHOW PIPEPLUGINS.

Validation

  • mvn -pl iotdb-core/datanode spotless:check -DskipTests
  • git diff --check

This PR has:

  • been self-reviewed.
Key changed class
  • iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/agent/runtime/PipeAgentLauncher.java

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.

1 participant