Skip to content

[feature](docker) add disaggregated doris docker image content - #39093

Merged
zy-kkk merged 1 commit into
apache:masterfrom
catpineapple:dockerfile_add_disaggreagted_operator
Aug 9, 2024
Merged

zy-kkk merged 1 commit into
apache:masterfrom
catpineapple:dockerfile_add_disaggreagted_operator

Conversation

@catpineapple

@catpineapple catpineapple commented Aug 8, 2024 •

Copy link
Copy Markdown
Member
  1. Added corresponding scripts for the doris image(fe,be) of storage-computing separation deployment
  2. Added a new metaservice image module
  3. Added binary package storage paths and prompt files for different architectures to facilitate clearer construction of your own image

@doris-robot

Copy link
Copy Markdown

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.

@github-actions github-actions Bot added the doing label Aug 8, 2024
@catpineapple

Copy link
Copy Markdown
Member Author

run buildall

@morningman morningman left a comment

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.

LGTM

@github-actions

github-actions Bot commented Aug 8, 2024

Copy link
Copy Markdown
Contributor

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 Aug 8, 2024
@github-actions

github-actions Bot commented Aug 8, 2024

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@zy-kkk
zy-kkk merged commit dac1555 into apache:master Aug 9, 2024
wyxxxcat pushed a commit to wyxxxcat/doris that referenced this pull request Aug 14, 2024
…e#39093)

1. Added corresponding scripts for the doris image(fe,be) of storage-computing separation deployment 
2. Added a new metaservice image module
3. Added binary package storage paths and prompt files for different architectures to facilitate clearer construction of your own image
dataroaring pushed a commit that referenced this pull request Aug 26, 2024
1. Added corresponding scripts for the doris image(fe,be) of storage-computing separation deployment 
2. Added a new metaservice image module
3. Added binary package storage paths and prompt files for different architectures to facilitate clearer construction of your own image
@catpineapple
catpineapple deleted the dockerfile_add_disaggreagted_operator branch September 20, 2024 07:02
HappenLee pushed a commit to HappenLee/incubator-doris that referenced this pull request Apr 24, 2026
…e#39093)

1. Added corresponding scripts for the doris image(fe,be) of storage-computing separation deployment 
2. Added a new metaservice image module
3. Added binary package storage paths and prompt files for different architectures to facilitate clearer construction of your own image
morningman pushed a commit to Al-assad/doris that referenced this pull request Dec 4, 2026
### Background

The standalone runtime build uses verified Doris release archives for FE, BE, and Meta Service on Ubuntu and UBI 9. The entrypoints install projected configuration before they start Doris.

### What problem does this PR solve?

Issue Number: None
Related PR: apache#70821 (non-root runtime update), apache#70770 (shared runtime builder), apache#39093 (disaggregated entrypoint)
PR Type: Bugfix

Problem Summary:

The shared builder forwards invalid runtime IDs before downloading the archive or starting the base build. Its previous default mirror returned HTTP 403 when requesting the 4.1.5 checksums. A projected FE config also discards the FQDN setting that disaggregated startup applies before installing the file. Validate the IDs early, use the Apache download mirror, and apply cloud settings to the installed config.

### Details

- **Change map:** 200 production, 81 test, and 24 documentation lines changed. No generated files. Build changes validate IDs and select the download mirror. Entrypoint changes install the projected config before applying startup settings.
- **Frequency:** Reproduced when building with UID 0 or starting disaggregated FE with a projected fe.conf that omits enable_fqdn_mode. The legacy mirror returned 403 in the verification environment.
- **Root cause:** The builder forwards IDs without checking them, and the FE entrypoint applies FQDN settings to the image config before replacing it with the projected config.
- **Why existing tests missed it:** Build tests checked valid identity forwarding and mock checksums. The entrypoint test exercised the copy helper outside the disaggregated FE startup sequence. Kernel regression tests start packaged services and do not exercise these runtime build scripts.
- **Fix:** Validate decimal IDs before fetching artifacts and before creating Docker users. Point the builder at the current Apache download mirror. Install writable primary configs before applying cloud settings, preserve explicit FQDN mode, and replace generated cloud assignments on restart.
- **Other paths and branches:** Both distro launchers use the shared builder. Integrated FE and BE share the projected file handling, and disaggregated BE reapplies its cloud mode. Meta Service retains its existing FDB handling. The shared builder is outside branch-4.0 and branch-4.1 at the inspected refs. Their FE entrypoints retain the old ordering. This change targets master.
- **Behavior change:** Invalid build-time IDs fail earlier, and disaggregated FE defaults to FQDN mode when its effective config omits the setting.

### Testing

- Confirmed red and green results for invalid IDs, the download URL, and disaggregated FE with a read-only projected config.
- Passed the runtime build unit tests, targeted ShellCheck, and Bash syntax checks.
- Built 24 Docker fixture images for Ubuntu and UBI 9 on amd64 and arm64. Checked default and custom IDs for FE, BE, and MS, then ran the non-root configuration tests on both distributions and architectures.
- Retrieved the official 4.1.5 checksums for the comparison inputs and verified the current operator tool source pin.

### Release note

Validate non-root runtime IDs before image builds, use the current Apache release download mirror, and preserve the FQDN default and cloud configuration across projected-config startup and restart.

### Check List (For Author)

- Behavior changed: Yes (see Details).
- Does this need documentation: Yes. The runtime README documents the IDs, startup behavior, and matching standalone Operator CLI.
- Pre-submission status: Partially verified: full Doris binary image builds and Kubernetes upgrade tests are tracked in the release verification stage.

### AI Disclosure

- Tool: Codex (GPT-6).
- Generated: Implementation, tests, and draft.
- Human review: Pending maintainer review.
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.0.2-merged doing reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants