{"id":20703833,"url":"https://github.com/euiyounghwang/spark_job_interface_service","last_synced_at":"2026-05-06T04:04:12.842Z","repository":{"id":241619636,"uuid":"807201421","full_name":"euiyounghwang/spark_job_interface_service","owner":"euiyounghwang","description":"spark_job_interface_service","archived":false,"fork":false,"pushed_at":"2024-10-21T21:16:46.000Z","size":143,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T16:37:38.372Z","etag":null,"topics":["fastapi","spark","spark-cluster","spark-jobs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/euiyounghwang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-28T16:44:45.000Z","updated_at":"2024-10-21T21:16:33.000Z","dependencies_parsed_at":"2024-09-12T00:42:19.161Z","dependency_job_id":"39faa15c-d327-4825-a31f-bf0005b01abb","html_url":"https://github.com/euiyounghwang/spark_job_interface_service","commit_stats":null,"previous_names":["euiyounghwang/spark_job_interface_service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/euiyounghwang/spark_job_interface_service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euiyounghwang%2Fspark_job_interface_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euiyounghwang%2Fspark_job_interface_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euiyounghwang%2Fspark_job_interface_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euiyounghwang%2Fspark_job_interface_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euiyounghwang","download_url":"https://codeload.github.com/euiyounghwang/spark_job_interface_service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euiyounghwang%2Fspark_job_interface_service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32677933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["fastapi","spark","spark-cluster","spark-jobs"],"created_at":"2024-11-17T01:09:44.335Z","updated_at":"2026-05-06T04:04:12.814Z","avatar_url":"https://github.com/euiyounghwang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spark_job_interface_service\n\u003ci\u003espark_job_interface_service\n\nApache Spark is an open-source unified analytics and data processing engine for big data. Its capabilities include near real-time or in-batch computations distributed across various clusters. \n\nSimply put, a Spark Job is a single computation action that gets instantiated to complete a Spark Action.  \n\n- This repository searches the list of spark jobs running in the spark cluster currently in service.\n- Additionally, they are created in Excel and downloaded.\n\n\n\n### Using Poetry: Create the virtual environment in the same directory as the project and install the dependencies:\n```bash\npython -m venv .venv\nsource .venv/bin/activate\npip install poetry\n\n# --\npoetry config virtualenvs.in-project true\npoetry init\npoetry add fastapi\npoetry add uvicorn\npoetry add pytz\npoetry add httpx\npoetry add requests\npoetry add xlsxwriter\npoetry add openpyxl\n```\nor you can run this shell script `./create_virtual_env.sh` to make an environment. then go to virtual enviroment using `source .venv/bin/activate`\n\n\n\n### Register Service\n- sudo service sparkjob_interface_api status/stop/start/restart\n```bash\n#-- /etc/systemd/system/sparkjob_interface_api.service\n[Unit]\nDescription=SparkJob Interface Service\n\n[Service]\nUser=devuser\nGroup=devuser\nType=simple\nExecStart=/bin/bash /home/devuser/sparkjob_interface_api/service-start.sh\nExecStop= /usr/bin/killall sparkjob_interface_api\n\n[Install]\nWantedBy=default.target\n\n\n# Service command\nsudo systemctl daemon-reload \nsudo systemctl enable sparkjob_interface_api.service\nsudo systemctl start sparkjob_interface_api.service \nsudo systemctl status sparkjob_interface_api.service \nsudo systemctl stop sparkjob_interface_api.service \n\nsudo service sparkjob_interface_api status/stop/start\n```\n\n\n\n### Run Custom Promethues Exporter\n- Run this command : $ `http://localhost:8003/docs`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuiyounghwang%2Fspark_job_interface_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuiyounghwang%2Fspark_job_interface_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuiyounghwang%2Fspark_job_interface_service/lists"}