jerryshao opened a new issue, #12716:
URL: https://github.com/apache/gravitino/issues/12716
### Describe the subtask
`JobExecutor`
(`core/src/main/java/org/apache/gravitino/connector/job/JobExecutor.java`)
exposes only `submitJob`/`getJobStatus`/`cancelJob` — there is no way to
retrieve a job's stdout/stderr. Callers (and the REST API) have no way to see
job output for debugging failed or running jobs.
**Proposed change:**
- Add output-log retrieval to `JobExecutor` (default method throwing
`UnsupportedOperationException`, so existing implementers aren't broken),
following the same backward-compatible default-method pattern used for
`queuedAt`/`startedAt`/`finishedAt`.
- Implement it for the built-in executors that can support it (e.g. the
local runner) by surfacing captured stdout/stderr.
- Expose it through `JobHandle` (Java + Python), the REST `Job` payload
(`docs/open-api/jobs.yaml`), and the Java/Python client APIs.
- Follows the same cross-cutting pattern as commit `62c5a2f2b` ("Expose job
queuedAt and startedAt across the public surface"), which touched the identical
set of layers for a different new field.
### Parent issue
#12667
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]