mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
No EMR test ran a step or a job run through Floci's Docker runner: the runner's wrappers and settings were unit tested and run by hand in the images. EmrDockerRunnerDockerIntegrationTest, a Docker-gated @QuarkusTest on ContainerDataPlaneProfile (which now sets both runner modes to docker), runs them for real in the emr-7.5.0 image, reaching Floci's S3 from the container: - a hadoop-streaming word count step, its mapper and reducer from S3, writing its counts to S3; - the same word count as a custom JAR at EMR's streaming jar path; - s3-dist-cp from S3 into the cluster's HDFS and back; - a cluster's spark-env export, read by a Spark step's driver; - an EMR Serverless run on the user guide's virtual environment recipe, spark.archives with #environment and the driver's and executors' Python in it, from an archive that needs no package index. EmrRequests.awaitStep and EmrServerlessRequests' createSparkApplication, startJobRun and awaitJobRun are shared helpers, each wait checking that its call answered 200 before reading the state, and RetryingTarCopier.putEntry, pulled out of singleFileTar, writes the archive's entries. The CI prefetch queues the 3.5 GB image for the shard that runs the class, last, behind the Lambda runtimes, and the prefetch results step no longer warns about an EMR Serverless image on ECR Public, the only place AWS publishes them.