{"id":21417320,"url":"https://github.com/staffbase/spark-submit-server","last_synced_at":"2025-03-16T19:19:29.781Z","repository":{"id":203318575,"uuid":"649296387","full_name":"Staffbase/spark-submit-server","owner":"Staffbase","description":"lightweight go server that exposes spark-submit","archived":false,"fork":false,"pushed_at":"2024-03-13T22:42:29.000Z","size":133,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-01-23T05:45:07.213Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Staffbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-04T12:16:30.000Z","updated_at":"2023-10-24T12:46:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"32dfc676-fd9e-46e1-b775-07cb5bfade7a","html_url":"https://github.com/Staffbase/spark-submit-server","commit_stats":null,"previous_names":["staffbase/spark-submit-server"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Staffbase%2Fspark-submit-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Staffbase%2Fspark-submit-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Staffbase%2Fspark-submit-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Staffbase%2Fspark-submit-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Staffbase","download_url":"https://codeload.github.com/Staffbase/spark-submit-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243918629,"owners_count":20368745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T19:14:35.535Z","updated_at":"2025-03-16T19:19:29.727Z","avatar_url":"https://github.com/Staffbase.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spark-submit-server\n\nlightweight go server that exposes [`spark-submit`](https://spark.apache.org/docs/latest/submitting-applications.html)\n\n![spark-submit-server architecture overview](spark-submit-server.drawio.png)\n\n## Run with a kind cluster\n\n1. create the cluster\n```bash\nkind create cluster\n```\n2. create spark namespace \u0026 serviceaccount\n```bash\nkubectl create -f example/spark.yaml\n```\n3. proxy kubernetes API to host\n```bash\nkubectl proxy\n```\n4. run the go server locally\n```bash\ngo run . --spark-home=$SPARK_HOME_DIR --master=k8s://http://127.0.0.1:8001 --spark-conf-dir=example/sparkConf --debug\n```\n5. start the example\n```\ncurl -XPOST http://localhost:7070?preset=pi\n```\n6. delete the kind cluster\n```bash\nkind cluster delete`\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaffbase%2Fspark-submit-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaffbase%2Fspark-submit-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaffbase%2Fspark-submit-server/lists"}