openhouse
openhouse copied to clipboard
feat(optimizer): [5/n] integrate remaining optimizer work for skeleton
Scope
Single large PR (per @mkuchenbecker's direction; will be triaged into follow-on
PRs). Reimplements remaining mkuchenb/optimizer integration-branch work on top
of opt-4's architecture (BinPacker / Bin / SchedulingCandidate; no REST between
analyzer and scheduler).
The integration branch's older Analyzer + Submitter + REST design is not ported — opt-2/3/4 replaced it.
Roadmap
- [ ] Step 2 —
BatchedOrphanFilesDeletionSparkApp+Operations.deleteOrphanFilesWithMetrics() - [ ] Step 3 —
CompleteOperationRequestcarries per-table metrics (orphanFilesDeleted,orphanBytesDeleted,errorMessage,errorType) - [ ] Step 4 — HouseTables
table_statsschema + upsert/get endpoints - [ ] Step 5 — Tables service on-commit metrics hook
(
OptimizerTableStatsClientinvoked fromIcebergSnapshotsServiceImpl) - [ ] Step 6 — Dockerfiles for optimizer-service / -analyzer / -scheduler
+ compose wiring (
oh-hadoop-sparkandoh-only) - [ ] Step 7 — End-to-end docker integration test +
DEMO.md
Out of scope here
- Splitting into smaller PRs (deferred until review).
- Closing/merging opt-0..opt-4.
- Updating
code/docs/table-optimizer/STATE.md/ARCHITECTURE.md/EXTENDING.mdto reflect the integrated state (follow-up after opt-5 takes shape).
Plan
code/docs/table-optimizer/STATE.md documents opt-0..opt-4 — opt-5 layers on top.
Detailed plan lives in the agent session.