Open-EO / openeo-geopyspark-driver

OpenEO driver for GeoPySpark (Geotrellis)
Apache License 2.0
25 stars 4 forks source link

Simplify "submit_batch_job_spark3.sh" workflow #627

Open soxofaan opened 6 months ago

soxofaan commented 6 months ago

Currently GpsBatchJobs._start_job() (non-kube code path) works like:

Some problems of this approach:

I wonder if we can't eliminate submit_batch_job_spark3.sh and just go directly from GpsBatchJobs._start_job() to a spark-submit subprocess, and do all the argument massaging in python. Making things more maintainable and even testable