Giter VIP home page Giter VIP logo

eae-compute's Introduction

eae-compute

Krakens Travis David David

eAE - Compute micro-service

The eae-compute service provides execution capabilities to the eae eco-system. While managing jobs is expected to be handled by the eae-scheduler, running them is the role of eae-compute. To do so, the eae-compute service exposes a REST interface.

We provide the API documentation in swagger 2.0 format. You can paste the content in the swagger editor to render the API documentation.

Configuration

At its construction, the eaeCompute server receives a configuration object that MUST respect the following schema:

Supported job types

  • EAE_JOB_TYPE_PYTHON2 From the eae-utils package. Runs a python script using python2 cli
  • EAE_JOB_TYPE_PIP Use the pip command. Support both install and uninstall via this job parameters
  • EAE_JOB_TYPE_R From the eae-utils package. Runs an R script using Rscript cli

Contributing

To add support for more Job types:

  • Create a new class that inherits from the JobExecutorAbstract source.
  • Implement the abstract methods _preExecution, _postExecution, startExecution and stopExecution, with their expected behavior.
  • Insert your new job type allocation into the JobFactory.

eae-compute's People

Contributors

aoehmichen avatar fguitton avatar renovate-bot avatar tezirg avatar zhangxiaoyu11 avatar

Watchers

 avatar  avatar  avatar  avatar

eae-compute's Issues

Support for Spark 2.x

Implement an executor for Spark 2.x and a deployment startegy for sandbox and production environments.

Should not run apt upgrade in Dockerfil

As much as possible it is recommended not to use apt upgrade while building Docker images.
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run

# Select source image
FROM node:wheezy@sha256:4e94d7eab2c3c8c59647b534699c32c5cbcdce371e70eb314c2d056922b2a2f1
# Install all dependencies
RUN apt-get update -q && apt-get upgrade -y --no-install-recommends

# Select source image
FROM node:wheezy
# Install all dependencies
RUN apt-get update -q \
&& apt-get upgrade -y --no-install-recommends \
&& apt-get install -y python-pip \
&& apt-get install -y python3 \
&& apt-get install -y python3-pip \
&& apt-get install -y r-base

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.