{"id":13740059,"url":"https://github.com/crate/crate-mesos-framework","last_synced_at":"2025-05-08T19:35:29.431Z","repository":{"id":28833764,"uuid":"32357403","full_name":"crate/crate-mesos-framework","owner":"crate","description":"An integration framework that allows you to run and manage CrateDB via Apache Mesos.","archived":true,"fork":false,"pushed_at":"2019-01-30T15:25:16.000Z","size":421,"stargazers_count":23,"open_issues_count":1,"forks_count":6,"subscribers_count":47,"default_branch":"master","last_synced_at":"2024-08-04T04:06:04.621Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crate.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.txt","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-16T22:43:59.000Z","updated_at":"2023-01-28T18:10:52.000Z","dependencies_parsed_at":"2022-09-05T18:40:29.890Z","dependency_job_id":null,"html_url":"https://github.com/crate/crate-mesos-framework","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate%2Fcrate-mesos-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate%2Fcrate-mesos-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate%2Fcrate-mesos-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crate%2Fcrate-mesos-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crate","download_url":"https://codeload.github.com/crate/crate-mesos-framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224758272,"owners_count":17364974,"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-08-03T04:00:41.940Z","updated_at":"2024-11-15T09:30:59.989Z","avatar_url":"https://github.com/crate.png","language":"Java","funding_links":[],"categories":["Frameworks"],"sub_categories":["Storage and Serving"],"readme":"=======================\nCrateDB Mesos Framework\n=======================\n\n.. image:: https://travis-ci.org/crate/crate-mesos-framework.svg?branch=master\n    :target: https://travis-ci.org/crate/crate-mesos-framework\n\n.. image:: https://img.shields.io/badge/license-Apache%202-blue.svg\n    :target: https://raw.githubusercontent.com/crate/crate-mesos-framework/master/LICENSE\n\n|\n\nAn integration framework that allows you to run and manage CrateDB_ via `Apache\nMesos`_.\n\n**This project is currently unmaintained. Contributions welcome. See below.**\n\n*Note: this framework is experimental and not suitable for production use.\nFuture changes in the API might break older installations!*\n\nPrerequisites\n=============\n\nA JDK needs to be installed.\n\nOn OS X, we recommend using `Oracle's Java`_. If you're using Linux, we\nrecommend OpenJDK_.\n\nWe recommend you use a recent Java 8 version.\n\nVagrant_ is also used.\n\nSetup and Building\n==================\n\nClone the repository::\n\n    $ git clone https://github.com/crate/crate-mesos-framework.git\n\nBuild the JAR file::\n\n    $ ./gradlew fatJar\n\nThe JAR file can then be found in the ``build/libs/`` directory.\n\nThis JAR file cannot be run directly as it requires a Mesos master instance and\nthe Mesos native libraries.\n\nLaunching\n=========\n\nThis project ships with a Vagrantfile that can be used with Vagrant to launch\n*virtual machines* (VM) with Mesos installed.\n\nLaunch the VMs like so::\n\n    $ vagrant up\n\nThis will create and provision four VMs:\n\n- ``mesos-master``\n    The Mesos master instance along with Zookeeper\n- ``mesos-slave-{1..3}``\n    The Mesos slaves\n\nIf you have run ``vagrant up`` before, Vagrant boots the existing VMs.\n\nOnce the VMs are up-and-running, the CrateDB Mesos framework can be started\ninside the master VM. You can do that like so::\n\n    $ vagrant ssh -c \"java -Djava.library.path=/usr/local/lib -jar /vagrant/build/libs/crate-mesos-*.jar --crate-version 0.54.9 --zookeeper 192.168.10.100:2181\"\n\nInside the VM, ``/vagrant`` is mapped to the project root. This way, the JAR\nfile can be accessed.\n\nHosts Entries\n-------------\n\nThe static IPs of the Vagrant VMs are ``192.168.10.100`` for the master and\n``192.168.10.{101..103}`` for the slaves.\n\nYou can add them to your ``/etc/hosts`` file, like so::\n\n    192.168.10.100 mesos-master\n    192.168.10.101 mesos-slave-1\n    192.168.10.102 mesos-slave-2\n    192.168.10.103 mesos-slave-3\n\nThe Mesos WebUI should be available under http://mesos-master:5050 immediately\nafter ``vagrant up`` is finished.\n\nOnce the CrateDB Mesos framework has been launched, the framework API becomes\navailable at http://mesos-master:4040/cluster (if an API port is not otherwise\nspecified).\n\nShortcut\n--------\n\nYou can re-build the JAR file and re-start the framework with this shortcut\ncommand::\n\n    $ bin/deploy --crate-version 0.47.7 --zookeeper 192.168.10.100:2181\n\nRunning via Marathon\n====================\n\nOne of the easiest ways to run CrateDB Mesos framework is via Marathon_, on\nsomething like a DCOS_ cluster.\n\nFor installing Marathon, please refer to `Mesosphere install guide`_. The\nMarathon WebUI should be available under http://mesos-master:8080 after setting\nthings up.\n\nModify the template `marathon/local.json`_ file to suit your purposes and then\nsubmit the file to Marathon, like so::\n\n    $ curl -s -XPOST http://mesos-master:8080/v2/apps -d@marathon/local.json -H \"Content-Type: application/json\"\n\nOnce deployed, you can use the framework API_ to launch a CrateDB cluster. To do\nso, execute the ``resize`` command::\n\n    $ curl -sXPOST -H \"Content-Type: application/json\" \u003cFRAMEWORK_HOST\u003e:4040/cluster/resize -d '{\"instances\": \u003cNUM_INSTANCES\u003e}'\n\nHere, ``\u003cFRAMEWORK_HOST\u003e`` is the hostname or IP of the host the framework is\nscheduled on, and ``\u003cNUM_INSTANCES\u003e`` is the desired number of CrateDB nodes.\n\nContributing\n============\n\nThis project is primarily maintained by Crate.io_, but we welcome community\ncontributions!\n\nSee the `developer docs`_ and the `contribution docs`_ for more information.\n\nHelp\n====\n\nLooking for more help?\n\n- Read the `project docs`_\n- Check out our `support channels`_\n\n.. _`Mesosphere install guide`: http://mesosphere.com/docs/getting-started/datacenter/install/\n.. _Apache Mesos: http://mesos.apache.org\n.. _API: https://crate.io/docs/reference/mesos-framework/en/latest/api.html\n.. _contribution docs: CONTRIBUTING.rst\n.. _Crate.io: http://crate.io/\n.. _CrateDB: https://crate.io\n.. _DCOS: https://dcos.io\n.. _developer docs: DEVELOP.rst\n.. _Gradle: http://www.gradle.org/\n.. _Marathon: https://mesosphere.github.io/marathon/\n.. _marathon/local.json: marathon/local.json\n.. _OpenJDK: http://openjdk.java.net/projects/jdk8/\n.. _Oracle's Java: http://www.java.com/en/download/help/mac_install.xml\n.. _project doc: https://github.com/crate/crate-mesos-framework/tree/master/docs\n.. _support channels: https://crate.io/support/\n.. _Vagrant: https://www.vagrantup.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrate%2Fcrate-mesos-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrate%2Fcrate-mesos-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrate%2Fcrate-mesos-framework/lists"}