Skip to content

Stop publishing standalone CLI, ConfigNode and DataNode distributions - #18622

Open
HTHou wants to merge 1 commit into
apache:masterfrom
HTHou:codex/consolidate-binary-distributions
Open

HTHou wants to merge 1 commit into
apache:masterfrom
HTHou:codex/consolidate-binary-distributions

Conversation

@HTHou

@HTHou HTHou commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Description

Stop publishing the standalone CLI, ConfigNode and DataNode binary distributions. These components are already included in apache-iotdb-<version>-all-bin.zip, so users can download that archive and run the components they need.

Remove the three release assembly descriptors and their SHA-512 entries. These archives are no longer attached as Maven artifacts, so release signing no longer produces their signatures. Keep the internal module ZIPs used to assemble the all-in-one distribution, the integration-test templates, and the remaining release distributions.

Update the ConfigNode and DataNode Dockerfiles to consume all-bin.zip and use its extraction directory. Update both prebuilt-archive checks and source-build copying in the Docker helper. Image tags, entrypoints and component selection remain unchanged; the node images now contain the all-in-one package contents. Update the Docker documentation and remove references to the retired descriptors from the Edge assembly checks.

Validation

  • mvn clean package -pl distribution -am -DskipTests passed.
  • Checked that the clean default build produces only the all-in-one, Edge and UDF library release ZIPs, that each ZIP passes its integrity and SHA-512 checks, and that the internal CLI/ConfigNode/DataNode module ZIPs remain available.
  • Checked the effective POM with apache-release,with-cpp,with-ainode: the retired artifacts are absent and the remaining assembly/checksum entries and release signing configuration are preserved.
  • python3 .github/scripts/test-edge-ops.py: 24 passed, 1 Windows-only test skipped.
  • Started the freshly packaged Edge distribution in a temporary directory with separate ports, verified it accepts RPC connections, then stopped it and verified the RPC port closes and the PID file is removed.
  • bash -n docker/src/main/DockerCompose/do-docker-build.sh passed. A temporary mock harness verified the ConfigNode/DataNode/standalone/latest paths with only an all-in-one archive, ConfigNode/DataNode source-build copying with only all-in-one and AINode archives, and role-specific entrypoint dispatch.
  • git diff --check passed.

Actual Docker image builds and container startup were not run because the local Docker daemon is unavailable. Docker checks above cover script behavior and archive inputs.

This PR has:

  • been self-reviewed.
  • updated documentation for modified behavior.
  • updated existing Edge assembly checks for the removed release descriptors.

@HTHou
HTHou marked this pull request as ready for review September 14, 2026 01:58
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