Giter Site home page Giter Site logo

mesomatic-hello's Introduction

mesomatic-hello

DEPRECATED: This project has been merged with the mesomatic-examples project; as such, it is no longer maintained ...


A 'Hello, World' for Clojure and Mesos using Mesomatic

Contents

About

This example project demonstrates a minimal "Hello, World" Mesos framework for Clojure using the Mesomatic library. This example covers only very basic usage of Mesos.

Other places to go for learning more about how to use Mesomatic:

  • An example project that follows in the tradition of the Java, and Python Mesos examples
  • Bundes - an actual, full Mesomatic application - this is the canonical example of Mesosmatic and one of the significant drivers for its development

Dependencies

Mesomatic depends upon having the following installed and, where applicable, running on your machine (or cluster):

  • Java
  • Maven
  • lein
  • The native Mesos library (matching the version used in this project).

The latest version of this example is built against Mesos 0.27.0 and mesomatic 0.27.0-r0. You may look at previous releases to see if there are older versions of Mesos supported (should you be interested).

All other dependencies (including the Java bindings) are downloaded automatically by lein when you run the example.

Usage

$ lein mesomatic 127.0.0.1:5050 framework

This example project needs access to the native Mesos library. If you get errors like the following

  • Failed to load native Mesos library
  • java.lang.UnsatisfiedLinkError: no mesos in java.library.path

then one of the techniques you may employ to address this is setting the MESOS_NATIVE_JAVA_LIBRARY environment variable in your OS shell. For example, if you have built Mesos in /opt/mesos/0.27.0

$ export MESOS_NATIVE_JAVA_LIBRARY=/opt/mesos/0.27.0/build/src/.libs/libmesos.so

At which point you may re-try the usage example above.

Documentation

The project's auto-generated documentation is available here (such that it is):

License

Copyright © 2016 Duncan McGreggor

Apache License, Version 2.0.

mesomatic-hello's People

Contributors

oubiwann avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.