You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "goutamadwant (via GitHub)" <gi...@apache.org> on 2026/09/11 06:15:28 UTC
[I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
goutamadwant opened a new issue, #12268:
URL: https://github.com/apache/seatunnel/issues/12268
# Bounded job-level lineage REST API for Zeta
Status: **Under Review**. Proposed STIP-39; not accepted or implemented. Mailing-list discussion is pending.
Author: Goutam Adwant. Feature request: [#11484](https://github.com/apache/seatunnel/issues/11484).
## Background
Zeta already exposes DAG information through its job-detail API. The request in #11484 is for a supported REST lineage contract that a downstream operations tool can consume without depending on the UI response. The initial scope is the Source/Transform/Sink graph for one batch or streaming Zeta job, not column lineage.
An earlier [design-only PR #11941](https://github.com/apache/seatunnel/pull/11941) was closed without merging, with direction to put the proposal on an issue and follow the STIP/dev-list process. This proposal reuses that research, corrects assumptions against current source, and reconciles the newer [OpenLineage proposal #12207](https://github.com/apache/seatunnel/issues/12207). Neither proposal is treated as accepted implementation.
## Motivation
An operator investigating an unexpected destination should be able to ask: “Which source and transform stages feed this sink in this job?” A platform integration should not need raw job configuration, connector credentials, or sampled row traces to answer that topology question.
Before this change, the consumer must interpret the existing job-detail representation. After an accepted implementation, it could request a bounded, documented graph with explicit missing-metadata and retention behavior. This is execution-topology visibility, not proof of which individual records or columns reached a table.
## Goals
- Expose a deterministic, read-only projection of an available `JobDAGInfo` for one Zeta job.
- Support batch and streaming jobs through the same response schema.
- Represent pending/running jobs when a usable DAG exists, and finished jobs while the required history remains available.
- Preserve node and pipeline connectivity without inventing table-to-table mappings.
- Bound projection work, response bytes and concurrent request resource use.
- Keep the existing job-detail API, checkpoint formats, connector contracts and job execution behavior unchanged.
## Non-Goals
- Column lineage, SQL/transform semantic analysis, or record-level provenance.
- A cross-job dataset catalog, OpenLineage event delivery, or an external receiver dependency.
- Flink/Spark support, a UI screen, or a new persistent lineage store.
- Live dynamic-table discovery, DDL history, or a promise that reported table paths are exhaustive.
- Per-job access control, runtime metrics, or OpenLineage run/attempt identifiers.
## Design
### 1. Source of truth and ownership
Use `JobDAGInfo` as the input to a pure, bounded mapper. Whitelist topology fields from `VertexInfo` and pipeline edges; never serialize `JobDAGInfo` wholesale. Its existing JSON conversion includes environment options, which are not part of this API.
Current `JobMaster.getJobDAGInfo()` lazily builds and caches DAG information. `CoordinatorService.getJobInfo()` can also recover it from retained history, an active/pending master, or reconstruction from job information. Therefore, “reuse the existing lookup” is not equivalent to “no reconstruction or connector class loading.” The implementation must distinguish these paths and bound their costs before the endpoint is considered ready.
The REST path must not independently rebuild a plan on every request, invoke connectors to enrich metadata, scan StainTrace, or run graph projection/serialization on a scheduling or checkpoint thread. Reuse an available cached snapshot; if recovery cannot provide one within the agreed resource/deadline contract, return temporary unavailability. Any required narrow lookup helper must leave the existing job-detail behavior unchanged.
### Proposed request sequence
This shows the proposed responsibility boundaries, not an endpoint already implemented. The lookup must reconcile current execution ownership with retained history; it must not simply accept an old historical record while the same job ID is active again.
```mermaid
sequenceDiagram
autonumber
participant Client as REST consumer
participant Auth as Existing HTTP auth boundary
participant API as Proposed lineage endpoint
participant Lookup as Bounded DAG lookup
participant State as Existing master and retained state
participant Mapper as Bounded graph projection
Client->>Auth: GET /job-lineage/{jobId}
alt Authentication enabled and credentials rejected
Auth-->>Client: Existing 401 behavior
else Admitted under existing HTTP configuration
Auth->>API: Forward request
API->>API: Validate job ID and acquire capacity
alt Invalid ID or no capacity
API-->>Client: Fixed 400 or 503 error
else Capacity acquired
API->>Lookup: Resolve DAG within lookup deadline
Lookup->>State: Read available DAG and reconcile lifecycle
State-->>Lookup: Snapshot, absence, or unavailable state
Lookup-->>API: Classified lookup result
alt No usable consistent snapshot
API-->>Client: Fixed 404, 409, or 503 error
else Usable snapshot
API->>Mapper: Validate and project whitelisted fields
Mapper->>Mapper: Sort and serialize into capped buffer
Mapper-->>API: Complete bytes or classified failure
API-->>Client: 200 graph or fixed application error
end
API->>API: Release request resources
end
end
```
Deadline expiry releases the HTTP request, not necessarily underlying work. Any still-running lookup retains its work-capacity accounting until completion/cancellation; otherwise retries could create unbounded background work. Every application exit releases its owned buffers/permits, including failures and client disconnects. This feature introduces no call to an OpenLineage receiver and no checkpoint/lifecycle event delivery.
### 2. Proposed REST response
Proposed route: `GET /job-lineage/{jobId}`, under the existing Zeta REST base path. Exact route and error status choices remain review decisions.
Illustrative response, not a runtime capture:
```json
{
"schemaVersion": 1,
"jobId": "733584788375093248",
"graphKind": "EXECUTION",
"idScope": "JOB",
"nodes": [
{"id": "1", "kind": "SOURCE", "name": "pipeline-1 [source]", "tablePaths": ["sales.orders"], "datasetMetadata": "REPORTED"},
{"id": "2", "kind": "TRANSFORM", "name": "pipeline-1 [transform]", "tablePaths": [], "datasetMetadata": "NOT_APPLICABLE"},
{"id": "3", "kind": "SINK", "name": "pipeline-1 [sink]", "tablePaths": ["warehouse.orders"], "datasetMetadata": "REPORTED"}
],
"edges": [
{"pipelineId": 1, "sourceNodeId": "1", "targetNodeId": "2"},
{"pipelineId": 1, "sourceNodeId": "2", "targetNodeId": "3"}
],
"warnings": []
}
```
- `jobId` and node IDs are decimal strings to avoid JSON integer precision loss. `pipelineId` is the existing integer pipeline identifier.
- `graphKind=EXECUTION` describes the execution-oriented representation built by the current job-info path; it does not promise one node per original configuration block. Unknown legacy representation must not silently be relabeled as this contract.
- `name` is a display label from the vertex metadata. Despite the Java field name `connectorType`, its producer uses the action name, which can include pipeline prefixes and transform-chain labels. It is not a canonical connector identifier; do not parse it to infer identity.
- `tablePaths` are distinct, sorted reported path strings, not globally unique dataset IDs or OpenLineage namespace/name pairs. Do not infer catalog/server identity or parse connector configuration to complete them.
- `datasetMetadata=REPORTED` means at least one usable non-default path was reported, not that every dynamic table is known. `UNAVAILABLE` means no usable paths. Transforms use `NOT_APPLICABLE`.
- Ignore null/default table-path entries. For an unavailable source/sink or when entries are omitted, emit `DATASET_METADATA_UNAVAILABLE`, even if other valid paths remain. A single warning per affected node is sufficient. Do not turn missing metadata into missing topology.
- Sort nodes numerically by ID; edges by pipeline ID, source ID and target ID; warnings by code then numeric node ID; paths by case-sensitive string order. Do not lowercase names or paths.
- Multi-table sources/sinks remain one execution node with multiple reported paths. Transform chains remain as represented in the DAG. Do not manufacture a source-table-to-sink-table cross-product.
The mapper rejects missing required topology, mismatched map key/vertex ID, duplicate vertex identity, null edge endpoints, dangling references and inconsistent snapshots. Duplicate identical edges within a pipeline are deduplicated; distinct pipeline membership must be preserved. Cycles and self-loops are rejected as inconsistent topology, using bounded, non-recursive validation. A missing/null/unknown node kind is invalid; V1 supports only `SOURCE`, `TRANSFORM` and `SINK`. Empty graph metadata is unavailable rather than a successful empty lineage result.
Warning shape, for a source with no usable reported path:
```json
{"code": "DATASET_METADATA_UNAVAILABLE", "nodeId": "1"}
```
The response field names and enum values above are proposal-level contracts, not existing Java API additions. The implementation should keep its response DTOs and mapper internal to the engine REST implementation, rather than introducing a new connector-facing SPI.
### 3. Identity, restore and history
The proposed identity is `(jobId, nodeId)`, scoped to the available job DAG; it is not an execution-attempt or OpenLineage run identity. Deterministic serialization of a supplied snapshot is straightforward, but stability after reconstructing that snapshot must be tested independently.
Before promising job-lifetime identity, test repeated DAG construction, transform chaining, pipeline partitioning, pipeline retry, active-master failover, same-ID savepoint resume and new-ID restore. If same-ID reconstruction can change the identity/topology, resolve the contract explicitly: either prove a bounded correction using existing state, or revise the proposal to a graph-revision identity. Do not add persistent state or silently weaken the contract within an implementation PR.
Separately submitted jobs with new IDs have independent graphs. V1 adds no restore edges across jobs and does not correlate node IDs across jobs.
The current coordinator lookup checks retained DAG history before active/pending masters. The implementation must test coexistence of retained state and a same-ID resumed job; it must not serve an earlier retained graph as the current execution without validating that choice. This is an integration risk to resolve, not a newly reproduced bug claim.
Finished state and DAG records are separate retained entries, not an atomic snapshot. Return a graph only while sufficient consistent metadata exists. Do not claim exact simultaneous expiry or attempt to recover expired history by replaying configuration. No additional retention setting is proposed.
### 4. Resource limits and failure behavior
Proposed initial review values, not benchmark-backed defaults:
- 10,000 nodes, 50,000 input edges, and 50,000 reported path entries across the graph, counted before deduplication/copying.
- 4 KiB UTF-8 per display label or reported path; reject an over-limit graph rather than silently truncating identifiers.
- 8 MiB total uncompressed UTF-8 JSON response, including JSON escaping and warnings.
- At most four concurrent lineage projections/serializations per REST-serving process, with immediate busy rejection rather than an unbounded queue. Bound distributed lookup work too; a timed-out request must not leave unlimited background work.
- A proposed five-second lookup deadline. A timeout is not proof that an underlying rebuild was cancelled; admission and lifecycle handling must account for work still in flight.
Use bounded traversal and immutable request-owned output. Preflight count/string limits before constructing sorted copies; serialize once to a capped output buffer and commit the HTTP response only after success. Do not mutate shared `JobDAGInfo`, cache a stale graph indefinitely, or hold a scheduling lock while sorting/writing a response. These caps bound new endpoint work, not the memory already occupied by an engine DAG.
Sorting means the projection is not strictly linear: expect `O(V log V + E log E + D log D)` ordering work, plus string comparison/encoding costs, within the accepted input limits. Measure accepted-limit requests and concurrent overload before finalizing defaults.
Proposed application-owned responses:
- `200`: complete valid topology; advisory metadata may carry warnings.
- `400 / INVALID_JOB_ID`: malformed or non-positive/out-of-range ID.
- `404 / JOB_NOT_FOUND`: no known active/pending job or usable retained history after the bounded lookup.
- `409 / LINEAGE_UNAVAILABLE`: known job but missing or inconsistent DAG metadata.
- `413 / LINEAGE_GRAPH_TOO_LARGE`: a structural, string or serialized-byte limit is exceeded. This use of 413 for a response limit needs explicit REST-contract agreement.
- `503 / LINEAGE_TEMPORARILY_UNAVAILABLE`: recovery, ownership transition, deadline or capacity prevents a safe response.
- `500 / LINEAGE_INTERNAL_ERROR`: unexpected non-fatal application failure.
Application errors use fixed `{ "code": "...", "message": "..." }` fields, without raw request values, exception text, configuration, topology names or stack frames. Restore thread interruption where applicable and do not swallow fatal JVM errors. Preserve existing authentication/container error behavior; the endpoint cannot promise its JSON envelope for failures that occur before its handler runs or after a client disconnects.
### 5. Security and compatibility boundary
Use the existing HTTP authentication boundary. Basic Auth is configurable and may be disabled; this feature does not introduce authentication where none is configured, nor does it add per-job authorization. Document network/TLS controls and the existing cluster-wide visibility model.
Return only whitelisted graph fields. Exclude environment options, configuration, addresses, JAR locations, SQL text extracted from config, traces, credentials and exception details. Display labels and table names can themselves contain sensitive user-supplied text, so do not promise that arbitrary configured labels are secret-free. Use private/no-store response caching policy and ensure documentation treats topology as restricted operational metadata.
The shared exception filter now omits stack frames but still returns its own status/message envelope. No shared-filter security fix is included in this proposal. Use endpoint-owned fixed error translation where possible without changing other REST behavior.
### 6. Relationship to OpenLineage work
[#12207](https://github.com/apache/seatunnel/issues/12207) and PRs [#12208](https://github.com/apache/seatunnel/pull/12208), [#12209](https://github.com/apache/seatunnel/pull/12209), [#12210](https://github.com/apache/seatunnel/pull/12210) cover opt-in outbound table-level lifecycle reporting for Zeta/Flink. This proposal covers an on-demand read-only job topology view for Zeta, including intermediate transform nodes.
There is no proposed dependency on enabling OpenLineage or deploying a receiver. Do not copy its transport, backend SPI, token configuration, lifecycle hooks, statistics or retry queues into this work.
Coordinate with that author and reviewers on:
- Terminology: job/node identity versus run/attempt identity; neither is a substitute for the other.
- Dataset semantics: raw reported paths here versus normalized namespace/name there. No universal join key is promised.
- Metadata extraction: reuse a compatible approved helper if appropriate; do not introduce a competing connector-metadata SPI. The REST projection should remain usable without an outbound-reporting module.
- Test fixtures for multi-table jobs, missing metadata and restores, while keeping acceptance criteria separate.
If maintainers prefer a shared identity model before either public contract, record that dependency explicitly and pause the affected API slice. Related open PRs do not establish acceptance or require this proposal to inherit their full scope.
## Compatibility, Deprecation, and Migration Plan
The intended change is additive: a new endpoint only, with existing `/job-info` responses and consumers unchanged. No change to serialized `JobDAGInfo`/`VertexInfo`, checkpoints, savepoints, connector SPI, job options, scheduler behavior or history storage is proposed. No new runtime library is planned.
`schemaVersion=1` is an API version, not a graph generation counter. Clients must tolerate unknown optional fields. Removing fields, redefining identities or changing enum semantics requires an explicit compatibility/version decision. Do not advertise stable semantics before the STIP is accepted and corresponding tests pass.
## Test Plan
No Java 8/11 runtime validation is claimed for this draft. Both JDKs are required for the eventual implementation.
- Mapper: branching and joining graphs; multiple pipelines; chained transforms; large/signed numeric IDs; shuffled maps/edges; multi-table and missing/default/mixed metadata; invalid references and cycles; immutability under caller mutation.
- Bounds: exact and one-over boundaries for every limit, multibyte characters, escaping, repeated entries before deduplication, warning growth, concurrent admission saturation, bounded timeout cleanup and a slow/disconnected client. Confirm no partial success body is committed on rejection.
- Service: pending/running/finished/expired/unknown jobs, failed initialization, separate history-entry expiry, active-to-finished transition, follower routing, unavailable master, same-ID active/history coexistence, repeated reconstruction and failover.
- Identity: compare node/edge identities across the restore/retry cases above using actual DAG-generation paths, not only mocked lookup responses. Retain explicit evidence or revise the design before implementation approval.
- Security: enabled/disabled/invalid Basic Auth behavior; missing auth header; unexpected exceptions containing sentinel credentials; absence of configuration/address/JAR fields; unchanged shared endpoint/filter behavior.
- Compatibility: existing REST fixtures, serialized-class compatibility checks and relevant engine tests on Java 8/11; no connector/receiver/trace dependency introduced by lookup or projection.
- E2E: representative batch and streaming jobs with source/transform/sink paths, branching/multi-table coverage, retained-history lookup and master transition. Run source and result checks rather than asserting only HTTP 200.
- Performance: record cold lookup separately from cached projection, accepted-limit allocations/latency, and mixed normal/overload traffic. Choose final limits from measurements, not this draft's provisional numbers.
## Implementation and Decision Slices
- [ ] A — Discuss this proposal on the issue/dev list; reconcile #12207; record explicit decisions on identity, lookup cost, route/errors, limits and access model. No implementation PR is implied by publishing a draft.
- [ ] B — After agreement, implement the pure bounded mapper and immutable response with focused tests on Java 8/11. No route, connector calls or new state in this slice.
- [ ] C — Add the read service and endpoint, bounded lookup/admission, history/race handling and security tests. Recheck upstream overlap before touching shared engine paths.
- [ ] D — Complete real engine lifecycle validation, performance measurements, compatibility coverage and EN/ZH user documentation; link implementation PRs to the accepted STIP and #11484.
Each slice has its own reviewable PR once authorized and validated. Do not open another design-only PR. No implementation issue numbers or PR links are invented in this draft.
## Decisions Requested Before Implementation
All decisions below are **pending**. An issue assignment, an open proposal, or positive direction on scope is not acceptance of these contracts.
1. **D1 — Scope and source:** accept the available execution-oriented `JobDAGInfo` as the V1 topology source, with reported paths only and no column/table-mapping precision implied.
2. **D2 — Identity:** agree the required stability across retry, same-ID resume and master recovery. Require real reconstruction evidence; revisit graph-revision identity explicitly if existing state cannot support the guarantee.
3. **D3 — Lookup and history:** agree current-versus-retained precedence and temporary-unavailability behavior without unbounded plan rebuilding, new HA state, or job execution changes.
4. **D4 — Public REST contract:** agree route, schema versioning, response fields and status/error mapping, including whether 413 is appropriate for response limits.
5. **D5 — Resource budget:** review the provisional structural/string/byte limits, per-process admission and lookup deadline. Require measurements and bounds on in-flight master work before finalizing values.
6. **D6 — Access and overlap:** accept the existing HTTP access model with explicit topology-sensitivity documentation; reconcile terminology/metadata reuse with #12207 without creating a receiver dependency.
Decision records should link the specific issue comment or dev-list message and record any agreed changes in this canonical body. When a dev-list thread is sent, add its archive link here. Implementation PRs should map their acceptance tests to these decisions and the slices above.
## Alternatives Considered
- Keep consuming `/job-info`: no new endpoint, but no separate bounded lineage contract and unnecessarily broad payload coupling. Community may prefer documenting a safe subset; discuss before committing to a route.
- Use OpenLineage events as the REST source: introduces receiver/storage/delivery dependencies and does not directly preserve transform topology. Keep export and on-demand graph inspection complementary.
- Use StainTrace: sampled record traces are not an authoritative complete topology source.
- Add a new persistent logical-plan graph: may provide stronger identity semantics, but changes retention and compatibility scope. Return to design review if existing DAG state cannot meet the agreed contract.
- Export column lineage now: requires transform semantic analysis and is not a small extension of this proposal.
## References
- [Feature request and scoped design discussion](https://github.com/apache/seatunnel/issues/11484)
- [Direction to use issue/STIP/email rather than a design-only PR](https://github.com/apache/seatunnel/pull/11941#issuecomment-5492740257)
- [Historical design branch](https://github.com/goutamadwant/seatunnel/tree/feature/GH-11484-job-lineage-design) — predates this revision; not the canonical updated contract.
- [OpenLineage umbrella and review requirements](https://github.com/apache/seatunnel/issues/12207)
- [STIP guide](https://seatunnel.apache.org/community/contribution_guide/STIP/)
- [Source baseline reviewed](https://github.com/apache/seatunnel/commit/bbde250914346068f50131e7907bef2c9ecbc448)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "DanielLeens (via GitHub) via commits" <co...@seatunnel.apache.org>.
DanielLeens commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-6739660017
Thanks for clarifying the capture and size semantics. The default table-level response remaining byte-for-byte unchanged, the whole-response byte limit, and the `table=` escape hatch address the earlier response-contract questions.
One design decision remains open: this is no longer merely an opt-in response feature when column facts are captured for every job. The reported cost and stored-size figures are useful prototype evidence, but they are not enough to make always-on capture a project-wide default. Please update the dev-list discussion with that exact choice, its memory/CPU and failover impact, the target JDK/hardware assumptions, and the behavior when the asynchronous capture fails or is incomplete. The outcome must be recorded in the STIP decisions table.
Until that consensus is recorded, do not start Phase 2 snapshot/lifecycle work or any transform/API change for D7-D9. Phase 1 in #12619 remains independently reviewable as its projector-only scope does not settle this capture policy.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5651010447
@goutamadwant thanks for the revision. The updated STIP now covers the pieces that were blocking design review: snapshot-only reads with no DAG reconstruction or connector loading, explicit active/history precedence, deterministic 404/409/503 outcomes, the `GET /job-lineage/{jobId}` route with `schemaVersion=1`, provisional structural/byte/concurrency/deadline limits, and a topology-only field whitelist that excludes configuration, addresses, JAR locations, SQL, traces, credentials, and exception details. That is a material improvement, and it stays correctly separated from #12207 (no OpenLineage receiver, column lineage, or new persistent lineage store).
@CryoThrust's suggestions line up well with where the proposal landed. A few of them I'd like to see reflected explicitly in the STIP text if they are not already:
- Node/edge identity defined independently of display names, so retries, renamed aliases, and parallel subtasks cannot produce ambiguous lineage.
- The capture timestamp plus completeness flag you mentioned, stated clearly as point-in-time snapshot semantics rather than eventually consistent with the running job.
- The bounded-size behavior: whether the atomic size rejection maps to a specific status, and whether a `truncated` marker or pagination is planned for a later schema version.
- Optional opaque dataset identifiers as a forward-compatible hook for later OpenLineage correlation, without adding any facets now.
To be clear on status: this remains a proposal, not acceptance or a green light to implement. The remaining gate is the decision process recorded in D1-D6. Concrete asks before anything else moves:
1. Publish a [DISCUSS] thread on the dev list and add the archive link here.
2. Record the decisions on identity, snapshot-only selection/history association, route/error mapping, resource limits, and the access/overlap boundary in the STIP.
3. Describe the contract tests that prove a cache miss cannot silently trigger connector loading or unbounded reconstruction on a REST or scheduling thread.
No implementation PR, cache warming, DAG reconstruction, connector loading, or new persistent state should start until those are settled. Once the dev-list link and recorded decisions are in, I'll do another pass on the contract.
<!-- streview-comment:1019 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "goutamadwant (via GitHub)" <gi...@apache.org>.
goutamadwant commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5974404797
@davidzollo @DanielLeens @SEZ9 @nzw921rx — could you confirm or let know your thoughts on open decisions below? Phase 1 is up as #12619.
| | Decision | Status | Ask |
|---|---|---|---|
| D1 | Scope: one Zeta job's Source → Transform → Sink graph from `JobDAGInfo`; no column lineage | Goal supported on dev@ | Confirm |
| D2 | Identity `(jobId, nodeId)`; `name` is a display label only | Confirmed by SEZ9 | – |
| D3 | Request reads an existing snapshot only; current execution beats history. **New:** build the snapshot once at `JobMaster` init so running jobs are covered | Open | Confirm the eager build; Phase 2 depends on it |
| D4 | `GET /job-lineage/{jobId}`, `schemaVersion: 1`, 400/404/409/413/503/500; oversized graph rejected whole (413) | 413 confirmed; route open | Confirm route and error codes |
| D5 | Limits: 10k nodes, 50k edges/paths, 4 KiB strings, 8 MiB response, 4 concurrent requests, 5 s deadline | Provisional | OK as V1 defaults, final values after Phase 2/3 measurements? |
| D6 | Existing Basic Auth, fixed field whitelist, no dependency on #12207 | Open | Confirm |
| – | No timestamp or completeness flag in V1 (a 200 is always the full graph) | Stated as deliberate | Confirm |
| – | Opaque dataset IDs deferred | Confirmed by SEZ9 | – |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "goutamadwant (via GitHub)" <gi...@apache.org>.
goutamadwant commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-6402743128
@SEZ9 thanks. Updated the body:
- Dev list: D7–D9 posted to the same thread: https://lists.apache.org/thread/xff62okc0ncnrz1n3tp0gxbyk8sz7rkw
- D1: the row now points to D7–D9 for column lineage.
- D7: `level=column` adds no error codes. D4 applies to the job as before; unknown column data is a `200` with `columnMetadata: NOT_CAPTURED` or per-table `UNKNOWN` (section 7, Limits).
- D8: its own open row, listing the four transforms and the `UNKNOWN` fallback; no transform code before dev@ confirms it.
- D9: column data counts against the 8 MiB limit (413, whole response). Over the column cap, the table graph is still returned (`200`, `NOT_CAPTURED`).
Measured on a local prototype (source → `Filter` → sink, 50 columns per table):
| Job size | Extra time at job start | Stored snapshot | Table-level response | Column response (whole job) | Column response (`table=`) |
|---|---|---|---|---|---|
| 10 tables × 20 columns | < 1 ms | 2 KB → 9 KB | 0.9 KB | 17 KB | 2.5 KB |
| 100 tables | ~10 ms | 6 KB → 144 KB | 3 KB | 392 KB | 7 KB |
| 1,000 tables | ~46 ms | 43 KB → 1.4 MB (0.33 MB gzip) | 30 KB | 3.9 MB | 34 KB |
| 2,000 tables | ~42 ms | 85 KB → 2.8 MB (0.66 MB gzip) | 62 KB | 7.8 MB | 66 KB |
D3 (eager snapshot after `JobMaster` init) is still the item Phase 2 needs from you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "goutamadwant (via GitHub)" <gi...@apache.org>.
goutamadwant commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5848321814
Dev-list thread: https://lists.apache.org/thread/o9z45fvngl66bljjsk70fyc09dd2okn3
@SEZ9 your four points are in the current body:
- Identity: `(jobId, nodeId)`; `name` is a display label only (sections 2 and 3).
- Capture time / completeness: point-in-time snapshot; no timestamp because `JobDAGInfo` has none ("Snapshot freshness and completeness").
- Size: whole response rejected with 413 `LINEAGE_GRAPH_TOO_LARGE`; no truncation or pagination in V1.
- Opaque dataset IDs: deferred; no config-derived IDs.
Cache-miss contract tests: Test Plan, "Snapshot-only contract".
@DanielLeens could you confirm or push back on D1–D6, including the two deferrals above?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "goutamadwant (via GitHub) via commits" <co...@seatunnel.apache.org>.
goutamadwant commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-6733208462
@SEZ9 thanks. Answers, and the body is updated:
- **D7:** correct. Without `level=column` the response has no `columnMetadata`, `tables` or `columnLineage` fields; it is the table-level document byte for byte.
- **D9:** yes. At the measured shape the whole-job column response is about 78 bytes per column, so longer column names, or jobs where most columns are renamed or transformed (each gets a `columns` entry instead of a name in `identityColumns`), can pass 8 MiB before the 100,000-column cap. Section 7 now points to `table=` for large jobs.
- **Capture:** column data is captured for every job; only the response is opt-in. The cost is the time in the Impact table (under 1 ms for small jobs, about 40–46 ms at 1,000–2,000 tables), once per job, inside the same asynchronous snapshot build as D3, so it does not delay job start. The timings came from an emulated JDK on an Apple Silicon Mac, so real numbers should be lower.
- **Gzip:** the stored figures (for example 85 KB → 2.8 MB) are raw sizes; the gzip figures were measured separately. Storing compressed is planned under D9. The cap counts columns, not bytes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5987023250
@goutamadwant — on D7–D9, directly:
This reverses D1 as recorded in your table ("no column lineage", status "Goal supported on dev@"). That is fine as a proposal, but it means the decision that was already taken to the dev list no longer matches the issue body. Please post the D7–D9 change to the existing dev-list thread (https://lists.apache.org/thread/o9z45fvngl66bljjsk70fyc09dd2okn3) and update the D1 row so it points at D7–D9 rather than reading as settled. I don't want a scope change of this size to live only in a comment.
On the three points as you've stated them:
- D7: `?level=column` with the default response unchanged is the right shape — the table-level contract from D4 must stay byte-for-byte what Phases 1–3 deliver. Please state explicitly which of the D4 error codes apply when `level=column` is requested for a job whose column data is unknown.
- D8: a new optional `SupportsColumnLineage` interface in `seatunnel-api` is a public API addition, which is a different kind of decision from the read-only endpoint in D1–D6. I'd like it recorded as its own open row, with the four transforms (`Copy`, `FieldMapper`, `Filter`, `Replace`) and the "unknown" fallback spelled out, and confirmed on the dev list before any connector/transform code changes start.
- D9: the 100,000-column cap needs to be reconciled with D5 (8 MiB response, 413 rejected whole). Please state whether column data counts against the 8 MiB limit and what the response is when the column cap is hit but the table-level graph fits.
Also, please paste the measured numbers from the new Impact section into this thread so they are reviewable alongside the D5 provisional values.
Phases 1–3 and #12619 remain unaffected as you say; nothing above blocks them. D3 (eager snapshot build at `JobMaster` init, 409 fallback, rebuild after failover) is still the open item I need confirmed for Phase 2.
<!-- streview-comment:1521 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5851885029
Thanks for posting the dev-list link — that closes the first part of the gate from my last comment. On your direct question about D1–D6, here is where I land on what you summarized:
- Identity as `(jobId, nodeId)` with `name` as a display label only: confirmed. That is the right stable identity and matches the concern CryoThrust raised about retries, renamed aliases, and parallel subtasks.
- Point-in-time snapshot with no capture timestamp: mild push-back. I accept that `JobDAGInfo` carries none, but the contract should still make freshness explicit to the caller. If a server-side serialization time is not something you want to add in V1, the "Snapshot freshness and completeness" section should state that omission as a deliberate decision and the response should still expose whether the snapshot is complete or partial, so the 503 / partially-available outcome is distinguishable from a full graph.
- Whole-response 413 `LINEAGE_GRAPH_TOO_LARGE`, no truncation or pagination in V1: confirmed as a V1 decision, provided it is listed in the route/error mapping alongside 404/409/503 and the structural/byte limits it is derived from are the provisional values already in the STIP.
- Opaque dataset IDs deferred, no config-derived IDs: confirmed. This keeps the endpoint separate from the OpenLineage work, which is what I asked for.
Two things I cannot confirm from this thread alone: the history-versus-active precedence for a reused ID, and the access/overlap boundary. Please paste the resolved wording for those here (or point to the exact section headings) so the record in this issue is self-contained.
Remaining asks before implementation:
1. Let the [DISCUSS] thread run and summarize its outcome here, including any push-back and the final D1–D6 decisions.
2. Apply the freshness/completeness clarification above to the STIP body.
3. No implementation PR, cache warming, DAG reconstruction, connector loading, or new persistent state until those decisions are recorded.
<!-- streview-comment:1337 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5643167825
Thanks for revising the STIP with snapshot-only reads, no DAG reconstruction or connector loading, explicit active/history precedence, and deterministic 404/409/503 outcomes. That addresses the main points raised above.
To make the revised contract fully reviewable, could you also add to the proposal:
- The endpoint path and version, plus an example response for both a running and a finished job.
- The proposed defaults for the response-size and concurrency bounds, and whether they are configurable.
- The topology-only field whitelist, confirming that environment options and connector configuration are never serialized.
Agreed with keeping this separate from #12207; no OpenLineage integration in this first slice. If a [DISCUSS] thread has been started on the dev mailing list, please link it here along with the final STIP document location.
<!-- streview-comment:990 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "SEZ9 (via GitHub) via commits" <co...@seatunnel.apache.org>.
SEZ9 commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-6818020356
@goutamadwant thanks, those answers settle most of what I asked.
- **D7:** good. The table-level document staying byte-for-byte identical without `level=column` is the contract I wanted; nothing further here.
- **D9:** understood. Since the whole-job column response can exceed 8 MiB before the 100,000-column cap, please state in section 7 that the cap is a column count and the 413 is a byte limit on the whole response, so the two limits are not read as the same thing. Pointing large jobs to `table=` is the right escape hatch.
- **Gzip:** clear, raw stored sizes with gzip measured separately. If storing compressed is planned under D9, add it to the D9 row as planned rather than leaving it implied by the figures.
- **Capture:** this is the one that is still open. Capturing column data for every job makes D7–D9 an always-on capture policy, not just an opt-in response. The Impact table is useful prototype evidence, but it was measured on an emulated JDK on an Apple Silicon Mac, and it does not yet cover memory, failover, or what happens when the asynchronous capture fails or is incomplete (does the snapshot still build with `NOT_CAPTURED`, or is the whole D3 build affected?). Please take that exact choice to the dev@ thread with those points and the target JDK/hardware assumptions, and record the outcome in the Decisions table.
Until that is recorded, please hold the Phase 2 snapshot work and any transform/API change for D7–D9. Phase 1 (table level, projector only) is unaffected and I will keep reviewing it on its own.
<!-- streview-comment:2294 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5633623411
For the proposed REST contract, I'd recommend keeping the first version explicitly job-scoped and bounded, while leaving room for OpenLineage correlation later:
* Use a stable response envelope with `job_id`, `execution_mode`, `generated_at`, `schema_version`, and a graph payload; do not expose raw connector configuration or sampled records.
* Define node/edge identity independently of display names so retries, renamed aliases, and parallel subtasks do not create ambiguous lineage.
* State whether the graph is a point-in-time snapshot or eventually consistent with the running job, and expose a capture timestamp / completeness flag.
* Keep column-level lineage and cross-job dataset lineage out of the initial endpoint, but include optional opaque dataset identifiers that can later map to OpenLineage facets.
* Bound graph size and return pagination or a clear `truncated` marker; a large streaming job must not turn one REST request into an unbounded response.
* Add authorization/error semantics for unknown job, expired execution, and partially available DAG data before freezing the endpoint.
This would make the REST API useful to operators now without coupling it to the UI response shape, while keeping the STIP-39 and OpenLineage proposals compatible.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5645799287
I re-read the revised canonical STIP rather than relying on the earlier summary. The three requested design elements are now present: it proposes GET /job-lineage/{jobId} under the existing REST base path with schemaVersion=1 and illustrative responses; it records provisional structural, byte, concurrency, and deadline values; and it contains an exhaustive topology-only whitelist that excludes configuration, addresses, JAR locations, SQL, traces, credentials, and exception details.
This is a material improvement to the design, but it is still a proposal, not acceptance or authorization to implement. The remaining gate is the explicit decision process already recorded in D1-D6: publish a [DISCUSS] thread to the dev list, add its archive link here, and record decisions on identity, snapshot-only selection/history association, route/error mapping, resource limits, and the access/overlap boundary. No implementation PR, cache warming, DAG reconstruction, connector loading, or new persistent state should start before those decisions are made.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5975883632
@goutamadwant thanks for pulling the open decisions into one table — here is where I land on each:
- **D1 (scope)** — Confirmed. One Zeta job's Source → Transform → Sink graph derived from `JobDAGInfo`, no column lineage in V1.
- **D2 (identity)** — Nothing to add; `(jobId, nodeId)` as identity with `name` as a display-only label is fine.
- **D3 (snapshot-only + eager build)** — The snapshot-only read with current execution taking precedence over history is confirmed. On the new part, I'm fine in principle with building the snapshot once when `JobMaster` finishes init, reusing the same call that already runs at job finish at 309b15effe99423f73b6007cbe61b97bb6af7b24. Before I mark it confirmed, please add two things to the body: (1) what happens if that build fails during init — it must not fail or delay job start, and the REST request should then fall through to the existing 409/503 outcomes; (2) how the snapshot is handled when a running job's `JobMaster` is restored after a master failover, so the "running jobs are covered" guarantee still holds. With those written down, D3 is confirmed and Phase 2 can rely on it.
- **D4 (route/errors)** — Confirmed: `GET /job-lineage/{jobId}` under the existing REST base path, `schemaVersion: 1`, and the 400/404/409/413/503/500 mapping with the oversized graph rejected whole via 413.
- **D5 (limits)** — OK as V1 defaults (10k nodes, 50k edges/paths, 4 KiB strings, 8 MiB response, 4 concurrent requests, 5 s deadline). Treat them as provisional and bring the measured numbers back here after Phase 2/3 so we can finalize them in the body.
- **D6 (access/overlap)** — Confirmed: existing Basic Auth, fixed field whitelist, and no dependency on the auth work tracked separately.
- **No timestamp / completeness flag in V1** — Confirmed as deliberate; a 200 is the full graph, otherwise 409/503/413.
- **Opaque dataset IDs deferred** — Agreed.
Once the two D3 clarifications are in the body, please update the table statuses accordingly and I'll move on to reviewing the Phase 1 PR.
<!-- streview-comment:1499 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "goutamadwant (via GitHub)" <gi...@apache.org>.
goutamadwant commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5973991257
I've rewritten the body to the current contract, with a Decisions table and an Implementation checklist; review history stays in these comments.
@SEZ9
- Freshness/completeness: stated as a V1 decision in section 3. No timestamp by design; a 200 is always the complete graph, otherwise 409/503/413.
- Active vs history for a reused ID: section 2, "Selection order for a job ID".
- Access/overlap: sections 5 and 6.
One change to confirm for D3: a running job only has a DAG snapshot after `/job-info` has been opened ([JobMaster.java#L931-L951](https://github.com/apache/seatunnel/blob/309b15effe99423f73b6007cbe61b97bb6af7b24/seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/master/JobMaster.java#L931-L951)). I propose building it once when `JobMaster` finishes init, the same call that already runs at job finish ([L1043](https://github.com/apache/seatunnel/blob/309b15effe99423f73b6007cbe61b97bb6af7b24/seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/master/JobMaster.java#L1043)). The REST request stays snapshot-only.
Phase 1 (projector only, no route or engine change) is ready; I'll open it as "STIP-39 Phase 1" unless there are objections.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "goutamadwant (via GitHub)" <gi...@apache.org>.
goutamadwant commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5983653112
Following some feedback, I've added opt-in column lineage to the proposal: section 7 - with measured impact in the new Impact section.
@SEZ9 @DanielLeens this changes the earlier "no column lineage in V1". Could you review D7–D9?
- D7: `?level=column` (plus `table=`); the default response is unchanged.
- D8: optional `SupportsColumnLineage` in `seatunnel-api`; V1 covers jobs without transforms and `Copy`, `FieldMapper`, `Filter`, `Replace`. Anything else is reported as unknown.
- D9: column data captured with the snapshot, capped at 100,000 columns.
Phases 1–3 (table level, #12619) are unaffected. Let me know. thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "SEZ9 (via GitHub)" <gi...@apache.org>.
SEZ9 commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-6406939390
@goutamadwant thanks for the update and for posting D7–D9 to the dev@ thread. On the three decisions as now written:
- **D7** — agreed: `level=column` adding no error codes, D4 still applying to the job, and unknown column data reported as `200` with `columnMetadata: NOT_CAPTURED` / per-table `UNKNOWN` is the right shape. One confirmation: I read "default response is unchanged" as no `columnMetadata` field at all unless `level=column` is requested — correct?
- **D8** — fine as its own open row with the four transforms and the `UNKNOWN` fallback. Holding transform code until dev@ confirms is the right order.
- **D9** — counting column data against the 8 MiB limit and still returning the table graph (`200`, `NOT_CAPTURED`) when the column cap is exceeded is good. From your table, 2,000 tables × 50 columns is exactly the 100,000-column cap and the whole-job column response lands at 7.8 MB, just under 8 MiB. Is there a job shape you'd expect to hit the 413 before the column cap? If so, a sentence in section 7 pointing to `table=` for large jobs would help; the 34–66 KB `table=` responses make that case well.
Two asks on the Impact section:
1. Clarify what "opt-in" means for capture: is column data stored with the snapshot for every job (the 85 KB → 2.8 MB growth at 2,000 tables), or only when something is enabled? If it's always captured, please say so and note the ~42–46 ms at job start as the cost.
2. State whether the gzip figures are what the stored snapshot occupies or the raw size, so the limit is unambiguous.
With those two in the body, D7–D9 look good to me.
<!-- streview-comment:2039 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "goutamadwant (via GitHub)" <gi...@apache.org>.
goutamadwant commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5977040085
@SEZ9 added both D3 points to section 1 (build failure falls back to 409 without affecting job start; the new master rebuilds the snapshot in `init` after failover) and updated the Decisions table. #12619 is updated for your review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "goutamadwant (via GitHub)" <gi...@apache.org>.
goutamadwant commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5636506219
@DanielLeens Thanks for the feedback. Updated the STIP with snapshot-only reads, no DAG reconstruction or connector loading, explicit active/history precedence, and deterministic 404/409/503 outcomes. The diagram and validation plan now match. I also clarified freshness/completeness and retained atomic size rejection. Please review the revised contract before implementation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [STIP-39][Feature][Zeta] Bounded job-level lineage REST API [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on issue #12268:
URL: https://github.com/apache/seatunnel/issues/12268#issuecomment-5635774969
Thanks for putting the proposal in STIP form. It is now reviewable as a design, but it is not accepted or implemented.
The current source makes the bounded-read premise the key unresolved point. `CoordinatorService.getJobInfo` reads retained history, then an active or pending `JobMaster`, then restores a logical DAG from persisted job information. `JobMaster.getJobDAGInfo` lazily builds the DAG, and the existing REST compatibility path can regenerate it when the cache misses. Those paths are not equivalent to a pure, cheap graph mapper.
Before any implementation or mailing-list acceptance, please freeze a first-slice contract for: (1) selecting history versus an active job when an ID is reused; (2) whether this endpoint may ever restore or regenerate a DAG, and its explicit deadline/permit behavior if it can; (3) a topology-only field whitelist that never serializes environment options; and (4) bounded response size, retention states, and deterministic 404/409/503 outcomes.
The contract tests should prove that a cache miss cannot silently trigger connector loading or unbounded reconstruction on a REST or scheduling thread. Keep this separate from #12207: no OpenLineage receiver, column lineage, or new persistent lineage store belongs in this first proposal.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org