Giter Club home page Giter Club logo

spring-cloud-dataflow-server-nomad's Introduction

⚠️ This project is no longer maintained.

Spring Cloud Data Flow Server Nomad Build Status

This project provides support for deploying Spring Cloud Dataflow's streaming and task/batch data pipelines to Hashicorp Nomad. It includes an implementation of Spring Cloud Data Flow’s Deployer SPI for Nomad.

Please refer to the reference documentation on how to get started.

Building

Clone the repo and type

$ ./mvnw clean install

To build the docker image for the Data Flow Server

$ ./mvnw package docker:build -pl spring-cloud-dataflow-server-nomad

spring-cloud-dataflow-server-nomad's People

Contributors

donovanmuller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

spring-cloud-dataflow-server-nomad's Issues

Server-Unknown after executing scdf shell

Hi, I am following this tutorial about Spring Cloud Data Flow with Nomad:

https://donovanmuller.github.io/spring-cloud-dataflow-server-nomad/docs/1.1.0.RELEASE/reference/htmlsingle/#_download_and_run_the_spring_cloud_data_flow_shell

And I've started after "9 Getting Started", the part with Vagrant goes fine and my VM is functioning. The problem is executing:

nomad run https://raw.githubusercontent.com/donovanmuller/spring-cloud-dataflow-server-nomad/v1.1.0.RELEASE/src/etc/nomad/nexus.nomad

That I've changed to:

nomad run https://raw.githubusercontent.com/donovanmuller/spring-cloud-dataflow-server-nomad/v1.1.0.RELEASE/src/etc/nomad/scdf.nomad

All services goes fine, excluding scdf-server, which image can be found here. Consul always get 503 { Status: Down} from http://scdf-server.hashistack.vagrant, but this is not the crucial problem. Ignoring the health check, after that I've executed:

pasted image at 2017_07_04 02_46 pm

Which gives me "server-unknown". After a bit digging in the scdf.nomad file, I've reached the http://172.16.0.2:9393, that is the IP running my scdf-server, but the address http://scdf-server.hashistack.vagrant does not respond.

After discovering the IP, I've executed:

java -jar spring-cloud-dataflow-shell-1.1.0.RELEASE.jar --dataflow.uri=http://172.16.0.2:9393, which was a success. But, when continuing with the tutorial, when I try to execute:

dataflow:> runtime apps

I got connection refused, and can't proceed anymore. I don't have any knowledge about the docker image and I'm really lost here. I have a few questions about this. Am i doing something wrong? I've already changed the .nomad file a thousand times and tried a lot but I'm still stuck.

raw java support

Do you plan to support the "Raw Fork/Exec Driver".
It is unclear why someone thinks that raw_exec driver (without isolation) is a bad thing.
The old SpringXD execution mode should have been preserved (i.e just run microservice(jvm, python, whatever)) like any other program natively). The "microservices" idea is OK but let us decide whether we we want to use docker or not.
Supervised Docker environment (like Kubernetes which I have tested) is unnecessary overhead for some use-cases. For example: I'm not a big scale service provider", I just want to run my small distributed data pipeline.

Thanks in advance

Best regards,
Ivan Prostran

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.