Files
floci/docs/services
Priamo Germosen 5c62948838 feat(emr-containers): send a job run's driver logs to its S3 and CloudWatch destinations (#9208)
A docker job run's driver output went to Floci's log only, whatever its
monitoringConfiguration asked for.

- With an s3MonitoringConfiguration, the driver's stdout.gz and
  stderr.gz go to "/logUri/virtual-cluster-id/jobs/job-id/containers/
  spark-application-id/spark-job-id-driver/" once the run ends, as the
  development guide's "Configure a job run to use Amazon S3 logs" lays
  out a driver's logs.
- With a cloudWatchMonitoringConfiguration, its standard output and
  standard error go, as it writes them, to the streams
  "logStreamPrefix/virtual-cluster-id/jobs/job-id/containers/
  spark-application-id/spark-job-id-driver/(stderr/stdout)" in its
  logGroupName, the group and streams created if they do not exist.
- The spark-application-id has the form a Spark application on
  Kubernetes gets, spark- and 32 hexadecimal digits, and is Floci's own.
- A job template's configurationOverrides, whose parametric model need
  not name a destination's log group or log URI, are held to
  StartJobRun's ConfigurationOverrides, as a request's own are.
- The runner gzips a driver's output into temporary files rather than
  memory, and the per-stream CloudWatch forwarding EMR Serverless shares
  sends each line as written, but for an empty one, which CloudWatch
  Logs refuses, and each stream's lines of one emission in one call.
2026-11-22 14:08:25 -04:00
..