REA spark-submit notes (unofficial)
spark-submit (CLI args, spark-defaults.conf, submit wrappers) pins Spark application identity. In REA 6.7.x, treat selected master/deploy-mode/class/jar labels as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the Spark project tree (+ packaged jar/conf artifacts you hold).
- Quote selected
--master,--deploy-mode,--class, jar paths, and conf keys you actually see (never paste tokens). - Cousins → ray-job · dask-yml · flink-sql · compose-yml.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_spark_submitAPI REA never called.
Minimal path
# authorized spark-submit wrapper / spark-defaults.conf (+ artifact you hold)
# quote selected --master / --class / jar / conf keys into case notes
# cousins → peer Ray / Dask / Flink lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_spark_submit .
Compare
| Artifact | Honest posture |
|---|---|
| spark-submit | Spark application identity facts |
| Ray peer | rea-ray-job |
| Flink peer | rea-flink-sql |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
--class, main jar/py files, and--masterlabels — enough for most Evidence binders. - Master URLs and cloud storage credentials often embed secrets — record scheme/host labels only.
spark-defaults.conf/spark-env.shpins are still Spark identity — quote keys you observed, redact secrets.- Keep spark-submit distinct from Ray Jobs and Dask YAML in case notes.
- Kubernetes / YARN / Mesos deploy modes are identity facts — quote the mode name; do not invent REA helpers for cluster launch.
--packages/--jarscoordinates are useful — quote them when present; avoid pasting private repository passwords.
Scope we will not cover
- No inventing
inspect_spark_submit/ automatic attacks against foreign Spark clusters. - No credential theft from cloud keys, Hive metastore passwords, or private Maven indexes.
- No pirate redistribution of proprietary jars or data pipelines.
- No crack framing via Spark pins.
- No cookbooks that weaken Spark auth on foreign deployments.
Honest limits
RepoRead documents config literacy — how authorized spark-submit trees relate to Evidence — not a full Spark course. Prefer upstream Spark docs for RDD/DataFrame APIs and cluster managers. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-ray-job / rea-dask-yml / rea-flink-sql?
rea-ray-job covers Ray Jobs; rea-dask-yml covers Dask; rea-flink-sql covers Flink SQL. This page zooms on spark-submit identity — it does not overwrite those pages.
Is there inspect_spark_submit in 6.7.0?
Not assumed. Quote --master / --class / jar paths / conf keys you actually open, then use documented package/archive lanes. Do not invent inspect_spark_submit.
Does REA connect to Spark clusters or steal cloud credentials?
No. Local trees only. Redact master URLs with tokens; do not treat REA as a Spark driver/executor. No credential theft.
How should I label Evidence vs other distributed-compute configs?
Label Evidence by the file present. Keep spark-submit separate from rea-ray-job, rea-dask-yml, and rea-flink-sql.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).