Repository navigation
Conversation
nzw921rx
force-pushed
the
codex/zeta-application-mode-mvp
branch
from
September 23, 2026 18:04
a40428d to
ba77d93
Compare
Member
Author
|
Close and resubmit, I renamed the branch name again🔥 |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes: #12457
What does this PR do?
This PR implements the MVP proposed in #12457 for running one native Zeta job as one isolated YARN application or Kubernetes Job.
Before this change, users who wanted a job-scoped Zeta cluster had to maintain platform-specific scripts for Master and Worker startup, Hazelcast discovery, job submission, failure propagation, and resource cleanup. With this change,
seatunnel-application.shsubmits the job and deployment options to the selected provider. The provider starts one Zeta Master and the configured fixed number of Workers. The Master submits the job after all Workers have joined the cluster and registered their slots. Job completion, failure, and cancellation are propagated to YARN or Kubernetes, and the application-owned compute resources are released.Design
seatunnel-resource-manager-coredefines the platform-neutral application specification, client and deployer contracts, shared configuration options, and localized JAR path resolution. It is built by default.seatunnel-resource-manager-yarnandseatunnel-resource-manager-kubernetesare optional provider modules enabled by theyarnandkubernetesMaven profiles.ResourceManagerDriverSPI allocates external Worker processes. The existing ZetaResourceManagercontinues to own slot registration and task scheduling.resource-managers/<provider>. This PR does not introduce a separate Application Mode distribution.On YARN, the Zeta Master runs in the ApplicationMaster container and Workers are launched through
AMRMClientandNMClient. On Kubernetes, the Master runs in a Kubernetes Job Pod and creates the fixed Worker Pods through the Kubernetes API.Checkpoint recovery and MVP boundary
The MVP supports one Master and a configurable fixed number of Workers. Hazelcast backup count is
0, so losing the Master or a Worker fails the current application. A later submission can setapplication.restore-job-idto restore the job from its latest durable checkpoint. The YARN E2E suite validates this flow with HDFS, and the Kubernetes E2E suite validates it with persistent-volume storage.Multiple Masters, live Master failover, automatic Worker replacement, autoscaling, and Kerberos are outside the scope of this PR.
Distribution, CI, and documentation
yarnandkubernetesbuild profiles and package enabled providers into the standard binary distribution.seatunnel-resource-managers-e2emodule with package-separated YARN and Kubernetes suites and shared FakeSource, Console, and Assert job configurations.Test
git diff --check, workflow YAML parsing, and changed-document link checks: passed.