Files
floci/docs/services/emr-serverless.md
T
Priamo Germosen f665d5f5e7 feat(emr-serverless): update a started application's capacity and images (#8316)
UpdateApplication now takes a STARTED application's maximumCapacity and
custom images (imageConfiguration, workerTypeSpecifications), as the
User Guide's "Updating Running Applications" describes: "You can update
key application configurations such as maximum capacity, and custom
image settings - without stopping and restarting the application."
Every other setting still needs a CREATED or STOPPED application, as the
API reference's "An application has to be in a stopped or created state
in order to be updated" says, and an image change on an application with
initial capacity is refused: "Custom image updates on running
applications are not supported on applications with pre-initialized
capacity configured."

A run already going keeps the image and maximum capacity it was launched
with, and a new run, or a new attempt of one, takes the application's
current ones, as each run already reads them when it is launched.
2026-11-14 12:44:35 -04:00

31 KiB

EMR Serverless

EMR Serverless is an AWS service that provides serverless data analytics environments. Floci provides an emulator for the management-plane API (REST JSON) which covers the lifecycle of an Application and of the job runs submitted to it.

Configuration

Key Description Default
floci.emrserverless.enabled Whether the EMR Serverless API is enabled true
floci.emrserverless.port The port the service is exposed on 4566
floci.services.emrserverless.job-run-duration-seconds How long a BATCH job run stays RUNNING before it succeeds; 0 makes it SUCCESS as soon as it starts 0
floci.services.emrserverless.runner-mode immediate moves job runs through their states without running anything; docker runs each job run in a container (see Running Spark job runs and Running Hive job runs) immediate
floci.services.emrserverless.docker-network Docker network for job run containers the global default
floci.services.emrserverless.image-template Image for a docker job run whose application names no custom image, %s standing for the release label public.ecr.aws/emr-serverless/spark/%s:latest, or spark4/ in place of spark/ for an emr-spark-* release
floci.services.emrserverless.hive-image-template Image for a docker Hive job run whose application names no custom image, %s standing for the release label public.ecr.aws/emr-serverless/hive/%s:latest
floci.services.emrserverless.executor-containers How many executors a docker Spark job run may have at once, each in a container of its own (see Executors under Running Spark job runs); 0, the default, runs a run's executors in its driver's container, in Spark's local mode 0
floci.services.emrserverless.honour-architectures Run a docker job run's driver and executors for its application's architecture (see Architecture under Running Spark job runs); false runs them on the Docker host's own platform false
floci.services.emrserverless.reconcile-containers-on-startup Remove the drivers and executors a previous run of this Floci left on the Docker daemon before the first job run starts; turn it off when two Floci instances share a daemon with the same port and no resource namespace true

Endpoints

The emulator implements the standard AWS emr-serverless service endpoints:

  • POST /applications (CreateApplication)
  • GET /applications (ListApplications)
  • GET /applications/{applicationId} (GetApplication)
  • PATCH /applications/{applicationId} (UpdateApplication)
  • DELETE /applications/{applicationId} (DeleteApplication)
  • POST /applications/{applicationId}/start (StartApplication)
  • POST /applications/{applicationId}/stop (StopApplication)
  • POST /applications/{applicationId}/jobruns (StartJobRun)
  • GET /applications/{applicationId}/jobruns (ListJobRuns)
  • GET /applications/{applicationId}/jobruns/{jobRunId} (GetJobRun)
  • DELETE /applications/{applicationId}/jobruns/{jobRunId} (CancelJobRun)
  • GET /applications/{applicationId}/jobruns/{jobRunId}/attempts (ListJobRunAttempts)
  • POST /tags/{resourceArn} (TagResource)
  • DELETE /tags/{resourceArn}?tagKeys=... (UntagResource)
  • GET /tags/{resourceArn} (ListTagsForResource)

The tagging operations work on application and job run ARNs, as CreateApplication and StartJobRun return them (arn:aws:emr-serverless:<region>:<account>:/applications/<id> and .../applications/<id>/jobruns/<id>). They share the tags those calls store, so GetApplication and GetJobRun always report the current set. Following the EMR Serverless user guide, a resource holds at most 50 tags, and aws: in any case is reserved as the prefix of a tag key or value. A session ARN (.../sessions/<id>) answers ResourceNotFoundException, as sessions are not emulated. Once an application is deleted, its ARN and its runs' ARNs answer ResourceNotFoundException too, while GetApplication and GetJobRun still report them.

Applications, job runs, creation client tokens, and tags are scoped to the request's AWS Region. An application or run created in one Region is not returned by list, get, or tag requests signed for another.

ListApplications refuses a states filter naming a state that does not exist, or more than 7, and a maxResults outside 1 to 50, with the ValidationException AWS's validation layer answers.

CreateApplication stores every configuration UpdateApplication does, runtimeConfiguration, monitoringConfiguration, schedulerConfiguration, diskEncryptionConfiguration, interactiveConfiguration, identityCenterConfiguration and jobLevelCostAllocationConfiguration among them, and GetApplication returns each as it was written.

UpdateApplication changes any setting of a CREATED or STOPPED application, and of a STARTED one its maximumCapacity and its custom images, imageConfiguration and workerTypeSpecifications, as the user guide's "Updating Running Applications" describes. For every other setting the API reference's "An application has to be in a stopped or created state in order to be updated" holds: a STARTED application's update naming one, even beside those or with its current value, is refused with ValidationException, "Application must be in a stopped or created state in order to be updated.", and so is an image change on an application with initialCapacity ("Custom image updates on running applications are not supported on applications with pre-initialized capacity configured"). A run already going keeps the image and the maximum capacity it was launched with, and a new run, or a new attempt of a run, takes the application's current ones: "New workloads submitted after the update automatically will use the new image, while existing workloads continue with the original image". On a release up to 7.13 whose applicationLevelDigestResolution is left true, AWS keeps the image it resolved at the application's start until the application restarts; Floci resolves each run's image (see the custom images limitation) and runs the new one.

DeleteApplication leaves the application in TERMINATED state. GetApplication continues to report that state so lifecycle waiters can observe it, while an unfiltered ListApplications omits the terminated application. A terminated application cannot be started or stopped again.

Job runs

In the default immediate runner mode, job runs are metadata only: nothing executes. A run follows the job run states and GetJobRun's response shape, and settles when it is read. In the docker runner mode a Spark run executes; see Running Spark job runs.

  • Lifecycle: a run is RUNNING from the moment it is submitted. With the default job-run-duration-seconds of 0, a BATCH run is SUCCESS as soon as it starts; a positive duration keeps it RUNNING that long. A run whose duration would pass its executionTimeoutMinutes (720 when not given, as AWS reports it) is CANCELLED at the timeout. A STREAMING run stays RUNNING until it is cancelled.
  • Auto-start: a run submitted to a CREATED or STOPPED application starts the application, as autoStartConfiguration.enabled defaults to true. With auto-start turned off, the run is refused with ValidationException until the application is started. A run on a terminated application is refused.
  • Idempotency: clientToken is the idempotency token. Repeating a request with the same token returns the original run; reusing the token with a different request answers ConflictException (HTTP 409) "Request did not match the original".
  • Execution timeout: executionTimeoutMinutes is 0 to 1,000,000, 0 meaning no timeout. From release emr-7.11.0, a BATCH run's timeout must be 1 to 10080 minutes (7 days), as the model and the 7.11.0 release notes say; a run outside that is refused with ValidationException.
  • CancelJobRun moves a run that has not finished to CANCELLED. A finished run answers ValidationException "Job run is not in a cancellable state".
  • StopApplication refuses an application with a run that has not finished, a STREAMING run or a CANCELLING one included, as the API reference says "All scheduled and running jobs must be completed or cancelled before stopping an application." It answers ValidationException, the one error the model declares for this, with that sentence as its message: AWS's own message is not recorded, so the wording is Floci's reading.
  • ListJobRuns returns the newest runs first, filtered by states, createdAtAfter, createdAtBefore and mode, at most 50 per page. With several states, the runs are grouped by state in the order the filter names them. A state or mode that does not exist, or more than 8 states, is refused with ValidationException. An unknown application has no runs. A nextToken resumes only the listing it came from, with the same application and filters.
  • Attempts: a run starts as attempt 1, and in the immediate mode, where none fails, it stays its only one. In the docker mode a run whose driver fails is tried again on release 7.1.0 or later, as the user guide's "Job resiliency" gives it: a BATCH run until it has made retryPolicy.maxAttempts attempts (1 by default, no retry), and a STREAMING run until it has failed maxFailedAttemptsPerHour times within an hour (5 by default). Either outside 1 to 10, the user guide's "Accepted values", is refused with ValidationException, and either not an integer with SerializationException. Each new attempt is SCHEDULED again and runs its driver from the beginning; a cancelled run, one past its timeout, and one Floci's own shutdown stopped are not tried again. GetJobRun without attempt returns the latest attempt, with attempt an earlier one as it ended (FAILED, with its stateDetails), and an attempt the run never made answers ResourceNotFoundException; one below 1 or not an integer is ValidationException. ListJobRunAttempts lists every attempt, oldest first, each with its own creation and update times. No source says whether a run's timeout spans its attempts; Floci applies it to each.
  • createdBy is the caller's ARN, as GetCallerIdentity reports it. releaseLabel and networkConfiguration come from the application.

A state machine drives applications and job runs through the emr-serverless: integrations, .sync included; see Step Functions: Amazon EMR Serverless tasks.

Running Spark job runs

With runner-mode set to docker (FLOCI_SERVICES_EMRSERVERLESS_RUNNER_MODE=docker), a Spark job run executes. Floci starts one container per run from the application's custom image, if it names one (see Image below), or else from the release's image, the base image AWS publishes for customizing EMR Serverless images (public.ecr.aws/emr-serverless/spark/<release>, and spark4/<release> for the AWS runtime for Apache Spark releases, emr-spark-8.0.0 on), and runs spark-submit in it, in Spark's local mode by default: the container holds the driver and its executors. With executor-containers above 0, each executor runs in a container of its own instead, as each has a worker of its own on EMR Serverless (see Executors below).

  • Executors: with executor-containers above 0, Floci starts an executor's container as the driver asks for one, of the same image as the driver's or the application's for its executors (see Image), on the same network, with the same credentials and trust store. Its worker offers the run's spark.executor.cores and spark.executor.memory, which Floci reads from the running driver, so they come from the image's spark-defaults, the run's configuration or its sparkSubmitParameters alike: 4 cores and 14 GB unless the run says otherwise. How many run follows Spark's dynamic allocation, on by default, which starts with spark.dynamicAllocation.initialExecutors (3) and releases an idle executor after spark.dynamicAllocation.executorIdleTimeout, when its shuffle data allows: Floci removes the container of an executor Spark released. With dynamic allocation off, spark.executor.instances start. A run has at most executor-containers executors at once, and none that would take the workers of its application's runs, their drivers' among them, past the application's maximumCapacity, which "is cumulative across all workers at any given point in time" and of which "no new resources will be created once any one of the defined limits is hit": a worker counts its cores, its memory with Spark's overhead rounded up to a whole GB, and its disk, spark.emr-serverless.executor.disk or spark.emr-serverless.driver.disk, 20 GB by default. The overhead is the run's spark.executor.memoryOverhead (or the driver's), else that share of the memory its spark.executor.memoryOverheadFactor gives, else spark.emr-serverless.memoryOverheadFactor's, else 10%, and at least 384 MB. The master's address, the run's secret and the UI's kill links (see below) come after the run's own options, so none of them replaces these. Every executor's container goes with its driver, however the run ends, as does one that ended before it, and a hard stop's leftovers go as its driver's do. With executor-containers at 0, the default, or on the host's network or another container's network namespace, where two runs' ports would meet, the executors run in the driver's container instead, in Spark's local mode.

  • States: a run is SCHEDULED while its image is pulled and its container starts (the first run of a release pulls its image, 3.5 to 4.3 GB unpacked; a pull still downloading after floci.docker.image-pull-timeout-seconds, five minutes by default, is tried again, three attempts in all, so on a slow connection raise it or run docker pull on the image first, or the run is FAILED with "Could not pull image"), and RUNNING once the Spark driver runs, which sets startedAt. It is SUCCESS when the driver exits with code 0 and FAILED otherwise, with the exit code in stateDetails. CancelJobRun, or a BATCH run passing its executionTimeoutMinutes, makes it CANCELLING until the driver is stopped, then CANCELLED, as the job run states describe. A run Floci was running when it stopped is FAILED once it is read again. Floci's shutdown and a state reset stop every driver, one whose image is still being pulled included, and a driver a hard stop left running is removed the first time job runs are used after Floci restarts, unless reconcile-containers-on-startup is off.

  • What spark-submit gets: the entryPoint, its entryPointArguments and the sparkSubmitParameters, after the spark-defaults properties of the application's runtimeConfiguration, or the run's own in configurationOverrides.applicationConfiguration, which replace the application's whole spark-defaults classification. From emr-spark-8.1.0 the two are merged by property instead, the run's winning. s3:// and s3a:// paths reach Floci's S3 through S3A, on releases before 7.10.0 too, where s3:// would otherwise be EMRFS; the entry point and its files can be read from there. The Glue Data Catalog client is pointed at Floci's Glue, with the run's account as its hive.metastore.glue.catalogid (from emr-7.10.0 the client would otherwise ask STS for it), which a spark.hadoop.hive.metastore.glue.catalogid in the spark-defaults replaces.

  • Driver environment and archives: a spark.emr-serverless.driverEnv.<KEY> property, from the spark-defaults above or a --conf in sparkSubmitParameters, which wins, is an environment variable of the container, replacing one of Floci's own of that name, such as the user guide's JAVA_HOME for Java 17. Each archive of spark.archives (which spark-submit's --archives sets, winning over a --conf) that is in Floci's S3 is unpacked into the container's working directory, /home/hadoop in the release's image, before the driver starts, under the name that follows its #, or else its file's name: a .jar or .zip is unzipped, a .tar.gz, .tgz or .tar untarred, and any other file copied, as Spark unpacks one. So the user guide's Python virtual environment runs as it is written there:

    --conf spark.archives=s3://amzn-s3-demo-bucket/EXAMPLE-PREFIX/pyspark_venv.tar.gz#environment
    --conf spark.emr-serverless.driverEnv.PYSPARK_DRIVER_PYTHON=./environment/bin/python
    --conf spark.emr-serverless.driverEnv.PYSPARK_PYTHON=./environment/bin/python
    --conf spark.executorEnv.PYSPARK_PYTHON=./environment/bin/python
    

    Floci reads each archive as the run's account. One it cannot read fails the run before its driver starts, with "Job run could not start" naming it, and one that does not unpack fails the run as a driver's failure does. Spark also unpacks every archive itself, into its own files folder, where SparkFiles.get finds it, and, with executors in containers of their own, into each executor's working directory. A spark.executorEnv.<KEY> needs nothing more from Floci: Spark gives these variables to its executors, in the driver's JVM in local mode, and the Python workers they start.

  • Credentials: the container gets a session for the run's execution role when IAM knows the role, otherwise the account's placeholder credentials, and AWS_ENDPOINT_URL pointing at Floci, so the job's own SDK clients reach Floci too.

  • HTTPS: with TLS on, the container also gets Floci's CA bundle as a Java trust store, /etc/floci-ca-bundle.p12, which every JVM in it uses through JAVA_TOOL_OPTIONS, each saying so on its standard error (Picked up JAVA_TOOL_OPTIONS: ...); a trust store the job names itself, with -Djavax.net.ssl.trustStore, replaces it. So the job trusts Floci over HTTPS, and with FLOCI_DNS_SPOOF_AWS_ENDPOINTS on as well, which leads AWS's own endpoint names to Floci, SDK clients that ignore AWS_ENDPOINT_URL, the AWS SDK for Java 1.x's for one, reach Floci unchanged.

  • Output: the driver's output goes to Floci's log, prefixed emr-serverless:<jobRunId>. With an S3 log destination, the run's s3MonitoringConfiguration or else the application's, its standard output and error also go to Floci's S3 once the run ends, gzipped, as stdout.gz and stderr.gz under <logUri>/applications/<applicationId>/jobs/<jobRunId>/SPARK_DRIVER/, with attempts/<n>/ before SPARK_DRIVER/ for a STREAMING run, or a BATCH run whose retryPolicy allows more than one attempt, on release 7.1.0 or later, each attempt's logs under its own number. A cancelled run's logs hold what its driver wrote until it was stopped. Logs that cannot be written, to a bucket that does not exist say, leave the run as it ended.

  • CloudWatch Logs: with CloudWatch logging enabled, the run's cloudWatchLoggingConfiguration or else the application's ("enabled": false at the run turns it off), the driver's standard output and error go line by line, while it runs, to the log streams <prefix>/applications/<applicationId>/jobs/<jobRunId>/SPARK_DRIVER/stdout and .../stderr in Floci's CloudWatch Logs, with attempts/<n>/ before SPARK_DRIVER as for S3. The log group is logGroupName, /aws/emr-serverless by default, and <prefix> the logStreamNamePrefix, if any; both are created as needed, in the run's account and Region. A logTypes sends only the driver's types it names, and none of the driver's output when it names only SPARK_EXECUTOR.

  • Image: an application's custom image runs in place of the release's: the Driver worker type's imageConfiguration in workerTypeSpecifications for the driver and the Executor worker type's for the executors in containers of their own (local mode runs them in the driver's container), or else the application's imageConfiguration, which applies to every worker type. An <account>.dkr.ecr.<region>.amazonaws.com/<repository>:<tag> URI leads to Floci's ECR, as a Lambda function's or an ECS task's image does, so the image is pushed to a repository there; the repositoryUri Floci's ECR hands out works too. The image is pulled again for every run, so a tag pushed again is what the next run gets; when the pull fails the image the Docker daemon already has runs, one built locally under that URI included, and without one the run is FAILED with "Job run could not start". CreateApplication refuses an image configuration without an imageUri, and CreateApplication and UpdateApplication an image whose ECR repository, AWS-shaped or a repositoryUri from Floci's ECR, is in another Region, both with ValidationException in Floci's own wording. An update that leaves imageUri out removes that image configuration. Without a custom image, image-template names another image than the release's, such as a mirror or a dated tag of it: registry.internal/emr-serverless/spark/%s:20250425. GetJobRun reports the image configurations each attempt applies, as its application had them when the attempt was made: its imageConfiguration, and its worker types' in workerTypeSpecifications, as AWS's do when digests are resolved for each run ("To identify which image version each job is running, the GetJobRun API response returns the resolvedImageDigest for that specific job"). The driver's configuration, its worker type's or else the application's, has the resolvedImageDigest of the image the attempt pulled for the driver, its manifest digest in Floci's ECR; the executors' has theirs, or the driver's where the two share one. No other has a digest, even one naming the same image, such as the Executor image while local mode runs the executors in the driver's container, or a Hive run's TezTask image. Nor does one built locally under that URI, nor any without the docker runner mode, which pulls no image.

  • Architecture: a run's containers, its driver's and its executors', run on the Docker host's own platform by default. With honour-architectures on (FLOCI_SERVICES_EMRSERVERLESS_HONOUR_ARCHITECTURES=true) they run the image for its application's architecture, linux/amd64 for X86_64 and linux/arm64 for ARM64, the release's images being published for both and a custom image pulled for that platform; an application that names none still runs on the host's own, where on EMR Serverless "x86_64 is the default option". It is off by default, as Lambda's is, because tools such as Terraform name X86_64 unless told otherwise, which on an arm64 host would move every run to emulation. A host of another architecture runs the image under emulation, which Docker Desktop has and a Linux host gets from QEMU's binfmt_misc handlers; without it the driver cannot start ("exec format error") and the run fails. Floci does not fall back to the host's platform when the setting is on.

Running Hive job runs

With runner-mode set to docker, a Hive application's job run executes too. Floci starts one container per run from the application's custom image, if it names one, or else from the release's Hive image, the base image AWS publishes for customizing EMR Serverless Hive images (public.ecr.aws/emr-serverless/hive/<release>), and runs hive in it, with Tez in local mode, in Hive's JVM: the container holds the Hive driver and its Tez tasks. The custom image is the HiveDriver worker type's imageConfiguration in workerTypeSpecifications, or else the application's imageConfiguration; a TezTask image is not used, as Tez's tasks run in the driver's container.

  • States, credentials, HTTPS and the image: as for a Spark run, above, the driver being hive. The first run of a release pulls its Hive image, 2.7 GB unpacked. Without a custom image, hive-image-template names another image than the release's: registry.internal/emr-serverless/hive/%s:20250425.
  • What hive gets: the properties of the core-site, tez-site and hive-site classifications, each a --hiveconf, from the application's runtimeConfiguration or the run's own configurationOverrides.applicationConfiguration, which replaces the application's whole classification; then the run's initQueryFile and query, which Hive reads from Floci's S3 and runs in that order; then its parameters, split as a shell would split them, so a --hiveconf there takes priority over the classifications, as the user guide ranks them. Before them all come Floci's own settings, which any of them replaces: S3A on Floci's S3 for s3://, the Glue Data Catalog client, the image's metastore, on Floci's Glue with the run's account as its hive.metastore.glue.catalogid (a hive-site one names another account's catalog), and Tez in local mode. emrfs-site is not applied, as s3:// goes through S3A rather than EMRFS.
  • Scratch and warehouse folders: hive.exec.scratchdir and hive.metastore.warehouse.dir, which the user guide makes mandatory, are used as the run sets them, in Floci's S3. Hive runs as the image's hadoop user, in its home folder; Tez in local mode copies its session's staging folder, which Hive puts under the scratch folder, to the same path in the container, so Floci makes that path hadoop's before Hive starts.
  • Output: the driver's standard output, where Hive prints a query's results, and its standard error, where the Hive CLI prints its progress and errors, go to Floci's log, prefixed emr-serverless:<jobRunId>. With an S3 log destination they also go to stdout.gz and stderr.gz under <logUri>/applications/<applicationId>/jobs/<jobRunId>/HIVE_DRIVER/ once the run ends, and with CloudWatch logging to the log streams .../HIVE_DRIVER/stdout and .../HIVE_DRIVER/stderr while it runs, as a Spark run's go under SPARK_DRIVER; a logTypes takes the driver's types from its HIVE_DRIVER entry.

Limitations and Differences from AWS

  • Jobs do not execute by default: in the immediate runner mode StartJobRun records a job run and moves it through its states, but nothing runs. In the docker mode a Spark run executes in Spark's local mode in one container unless executor-containers is above 0 (see Executors below), and a Hive run with Tez in local mode in one container: in local mode, worker counts and sizes, initial and maximum capacity are not applied. A driver's failure is FAILED in Floci's own wording. Of the monitoring configuration, the S3 log destination gets the driver's stdout.gz and stderr.gz once a run ends (no event logs, rotated files or uploads while it runs), and CloudWatch Logs the driver's output while it runs (no executor logs, which local mode does not have and executors' containers take with them, no HIVE_LOG, TEZ_AM or TEZ_TASK logs of a Hive run, whose own log stays in its container, and encryptionKeyArn is ignored).
  • Executors: with executor-containers above 0, a Spark run's executors run in containers of their own, but at most executor-containers of them, rather than as many as dynamic allocation asks for, and a container's memory and cores are not limited to its worker's size, which only Spark's settings follow. initialCapacity is not applied: no worker is waiting, so each starts as the run asks for it. Spark's master is Spark's own standalone master, in the driver's container, where EMR Serverless has its own (spark.master reads spark://...), and the driver's UI, which the release's image turns off, is on, with its kill links off, as Floci follows the driver through it: a run that turns it off again (spark.ui.enabled=false) gets a single executor container 30 seconds after its driver starts, whose worker offers 32 cores and 256 GB, as Floci cannot read the run's own sizes, and which, like its driver's, counts for nothing against the application's maximumCapacity.
  • A driver that is not its application's type: AWS documents no answer for a hive run on a Spark application, or a sparkSubmit run on a Hive application. In the docker mode Floci records such a run, then fails it without running, in Floci's own wording, as its application's image could not run it.
  • Mandatory Hive properties: Floci does not refuse a Hive run without hive.exec.scratchdir or hive.metastore.warehouse.dir. Hive then keeps its scratch files and its managed tables' data in the container, which go with it.
  • Unsourced errors: AWS documents neither the error for a run submitted to an application whose auto-start is off nor the one for a run on a terminated application; Floci answers both with ValidationException. The same holds for a BATCH timeout outside 1 to 10080 minutes on emr-7.11.0 or later (ValidationException) and for GetJobRun naming an attempt a run never made (ResourceNotFoundException), both in Floci's own wording. A run needs a jobDriver, as every JobRun carries one, and jobDriver is a union, so a run without a driver, or with one that sets both sparkSubmit and hive or neither, is refused with ValidationException too, in Floci's own wording.
  • Archives: only the archives of spark.archives that are in S3 are unpacked into the driver's working directory; Spark alone unpacks the others, into its own files folder. Floci reads an archive itself, whatever the execution role may read, though Spark's own read of it uses the role's credentials.
  • Custom images: Floci does not check an imageUri against the model's pattern, which would refuse the repository URIs Floci's own ECR hands out, nor that the image was built from its release's base image (AWS refuses one that was not from emr-7.14.0 and emr-spark-8.1.0 on), nor the image's size. An image that cannot be pulled fails the run, not the request that names it. Every run resolves its image again, as releases from 7.14 do and earlier ones with applicationLevelDigestResolution false: Floci keeps no digest from the application's start, and reports no resolvedImageDigest on the application; a job run's comes from its attempt's own pull (see Image above), and its image configurations carry no applicationLevelDigestResolution.
  • Not emulated: the "EMR Serverless Job Run Retry" event, as Floci sends no EMR Serverless events, queuing (QUEUED), totalResourceUtilization and billedResourceUtilization, and shutdownGracePeriodInSeconds (accepted and ignored: a cancelled run's driver is stopped at once).
  • Instant Start/Stop: Floci marks the application STARTED or STOPPED immediately without provisioning actual compute capacity in the background.
  • Data Plane: Floci does not implement the data-plane API, such as interactive sessions.