{"id":13298031,"url":"https://github.com/NashTech-Labs/spark-on-mesos","last_synced_at":"2025-03-10T09:33:21.979Z","repository":{"id":143357770,"uuid":"120257946","full_name":"NashTech-Labs/spark-on-mesos","owner":"NashTech-Labs","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-05T05:13:15.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-15T10:17:12.459Z","etag":null,"topics":["deployment","mesos","spark","word-count"],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/NashTech-Labs.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":"2018-02-05T05:12:51.000Z","updated_at":"2023-08-04T09:00:07.000Z","dependencies_parsed_at":"2023-06-10T15:45:19.445Z","dependency_job_id":null,"html_url":"https://github.com/NashTech-Labs/spark-on-mesos","commit_stats":null,"previous_names":["nashtech-labs/spark-on-mesos"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NashTech-Labs%2Fspark-on-mesos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NashTech-Labs%2Fspark-on-mesos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NashTech-Labs%2Fspark-on-mesos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NashTech-Labs%2Fspark-on-mesos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NashTech-Labs","download_url":"https://codeload.github.com/NashTech-Labs/spark-on-mesos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242823809,"owners_count":20191065,"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":["deployment","mesos","spark","word-count"],"created_at":"2024-07-29T17:28:52.205Z","updated_at":"2025-03-10T09:33:21.624Z","avatar_url":"https://github.com/NashTech-Labs.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spark-on-mesos wordcount-example\n\nSimple word count example using spark and running it on mesos. For basic configuration to run spark on mesos \n[refer](https://blog.knoldus.com/2017/10/09/spark-on-mesosinstallation/)\n\n# Clone the repo\n\n```\ngit clone https://github.com/mahesh2492/spark-on-mesos.git\ncd spark-on-mesos\n```\n# Build the code\n\nIf this is your first time running SBT, you have to download the used dependencies.\n```\ncd spark-on-mesos\nsbt clean compile\n```\n# To run application locally, do following things:\n\nFirst change the spark master in application.conf and run following command\n```\nsbt run\n```\nTo run it on mesos, first create the jar to deploy. For that run following command\n\n```\nsbt assembly\n ```\n It will create the fat jar of wordcount application.\n \n # Run mesos master and slave\n ```\n cd build\n ./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/tmp/mesos\n ./bin/mesos-slave.sh --master=127.0.0.1:5050 --work_dir=/tmp/mesos --no-systemd_enable_support\n ```\n \n Deploy the jar using spark-submit\n \n ```\n cd spark-2.2.0-bin-hadoop2.7\n ./bin/spark-submit --class \"rdd.WordCount\" --master mesos://127.0.0.1:5050 file://path/target/scala-2.11/spark-on-mesos-assembly-1.0.jar\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNashTech-Labs%2Fspark-on-mesos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNashTech-Labs%2Fspark-on-mesos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNashTech-Labs%2Fspark-on-mesos/lists"}