Giter VIP home page Giter VIP logo

epipe's Introduction

ePipe

ePipe is a metadata system for HopsFS that provides replicated-metadata-as-a-service. The key component of ePipe is a databus that both creates a consistent, correctly-ordered change stream from HopsFS and eventually delivers the stream with low latency (sub-second) to external stores and downstream clients.

How To build

Using Docker

In this setup, we compile ePipe againt different platforms (ubuntu, centos) using docker containers. Therefore, you will need to have docker installed on your machine.

Clone the ePipe repo, and then build it using docker.

git clone https://github.com/logicalclocks/ePipe.git
cd ePipe
./docker-build.sh

The docker build script will create two docker images epipe_build_ubuntu and epipe_build_centos with their tag set to be the current ePipe version. These images are created based on the corresponding docker files located in docker/ubuntu and docker/centos. Then, it will run the containers to build the ePipe code for both platforms. The resultant binaries will be found under builds directory.

Interactive mode

You can use the docker interactive mode, to build and test ePipe againt ubuntu or centos depending on the image you use. An example of running a docker container with the ubuntu image (epipe_build_ubuntu) where we mount the ePipe repo to the container. The script build.sh can then be used to build ePipe.

cd ePipe
docker run --rm -v "$PWD":/usr/epipe:z -w /usr/epipe -it epipe_build_ubuntu:0.18.0 
epipe@24d10f5aacc3:/usr/epipe$ ./build.sh

Manual Setup

Software Required

For compiling ePipe you will need the following software.

Untar the MySQL Cluster binaries in /usr/local/

cd /usr/local
wget https://dev.mysql.com/get/Downloads/MySQL-Cluster-7.6/mysql-cluster-gpl-7.6.10-linux-glibc2.12-x86_64.tar.gz
tar xzvf mysql-cluster-gpl-7.6.10-linux-glibc2.12-x86_64.tar.gz
ln -s mysql-cluster-gpl-7.6.10-linux-glibc2.12-x86_64 mysql

Clone the ePipe repo, and then build it.

git clone https://github.com/logicalclocks/ePipe.git
cd ePipe
mkdir build
cd build
cmake ..
make

How To Run

To run ePipe, you need to create a config.ini file, you can copy the config.ini.template and then update the configuration accordingly, then run ePipe.

cp config.ini.template config.ini
./ePipe -c config.ini

A description of the allowed configuration parameters can be found in the config.ini.template file as well as when running the description (-d | --desc) switch on ePipe.

./ePipe -d

ePipe is installed as part of the Hopsworks platform as specified by the epipe-chef cookbook

epipe's People

Contributors

maismail avatar o-alex avatar smkniazi avatar kouzant avatar gibchikafa 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.