{"id":15920383,"url":"https://github.com/smola/spark-glusterfs-example","last_synced_at":"2026-05-05T12:32:33.354Z","repository":{"id":66731003,"uuid":"153641258","full_name":"smola/spark-glusterfs-example","owner":"smola","description":"An example of Apache Spark integration with GlusterFS.","archived":false,"fork":false,"pushed_at":"2018-10-18T15:05:56.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T12:14:51.564Z","etag":null,"topics":["example-project","glusterfs","maven","scala","spark"],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/smola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-18T14:51:26.000Z","updated_at":"2024-06-26T19:43:01.000Z","dependencies_parsed_at":"2023-03-28T00:48:13.589Z","dependency_job_id":null,"html_url":"https://github.com/smola/spark-glusterfs-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smola/spark-glusterfs-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smola%2Fspark-glusterfs-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smola%2Fspark-glusterfs-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smola%2Fspark-glusterfs-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smola%2Fspark-glusterfs-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smola","download_url":"https://codeload.github.com/smola/spark-glusterfs-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smola%2Fspark-glusterfs-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32649549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"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":["example-project","glusterfs","maven","scala","spark"],"created_at":"2024-10-06T19:22:36.446Z","updated_at":"2026-05-05T12:32:33.327Z","avatar_url":"https://github.com/smola.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# spark-glusterfs-example\n\nThis is a simple example of [Apache Spark](https://spark.apache.org/) working with [Gluster](https://www.gluster.org/), using [glusterfs-hadoop](https://github.com/gluster/glusterfs-hadoop).\n\n## Build\n\nTo build the project, just run:\n\n```\n./mvnw package\n```\n\nThe application jar will be written to `target/spark-gluster-example-\u003cversion\u003e.jar`.\n\n## Run\n\nA working Gluster cluster is required. If you are looking for a simple way to test locally, we recommend using [carmstrong/multinode-glusterfs-vagrant](https://github.com/carmstrong/multinode-glusterfs-vagrant).\n\nFor this example, we will assume that:\n* `SPARK_HOME` environment variable contains the path to an Apache Spark distribution.\n* `HADOOP_CONF_DIR` points to a directory with a Hadoop `core-site.xml`, containing some Gluster configuration. In [`conf/core`](https://github.com/smola/spark-glusterfs-example/blob/master/conf/core-site.xml) you will find a minimal working example, assuming an existing Gluster volume named `gv0` and mounted in `/mnt/gv0`.\n\nNow you can run:\n\n```\n$SPARK_HOME/bin/spark-submit \\\n    --master 'local[2]' \\\n    target/spark-gluster-example-0.1.0-SNAPSHOT.jar\n```\n\nThis will generate numbers from 1 to 100000 and write them to Gluster in Parquet format. Then it will read them back and compare to the original. If the result is correct, it will print `OK` and exit with status 0, otherwise, it will print `KO` and exit with status 1.\n\n## License\n\nThis example is released under the terms of the [Apache 2 License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmola%2Fspark-glusterfs-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmola%2Fspark-glusterfs-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmola%2Fspark-glusterfs-example/lists"}