marathon

How to deploy distributed h2o flow cluster with docker?

南楼画角 提交于 2019-12-11 05:08:46
问题 I'm able to deploy a h2o cluster with ec2 instances and having the private ip in the flatfile. Doing the same with docker works but I can't figure out what to enter into the flatfile so they can create the cluster. Private IP the container is running on is not working 回答1: Can the containers ping each others ip? When launching h2o are you forcing the interface to use the container ip? java -jar h2o.jar -flatfile flatfile -ip -port Are these docker containers when run exposing the port 54321

Can't connect to cassandra container via haproxy

不羁岁月 提交于 2019-12-08 19:43:33
I am trying to connect an external app to Cassandra which is running dockerized on a mesos cluster. These are the the apps I have running on mesos: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 137760ce852a cassandra:latest "/docker-entrypoint.s" 15 minutes ago Up 15 minutes 7000-7001/tcp, 7199/tcp, 9160/tcp, 0.0.0.0:31634->9042/tcp mesos-1b65f33a-3d36-4bf4-8a77-32077d8d234a-S1.0db174cc-2e0c-4790-9cd7-1f142d08c6e2 fec5fc93ccfd cassandra:latest "/docker-entrypoint.s" 22 minutes ago Up 22 minutes 7000-7001/tcp, 7199/tcp, 9160/tcp, 0.0.0.0:31551->9042/tcp mesos-1b65f33a-3d36-4bf4-8a77

how to auto launch new task instance when mesos-slave stopped?

假装没事ソ 提交于 2019-12-08 06:20:43
问题 version Info and command line args mesos-master & mesos-slave version 1.1.0 marathon version 1.4.3 docker server version 1.28 mesos-master's command line args: --zk=zk://ip1:2181,ip2:2181,ip3:2181/mesos \ --port=5050 \ --log_dir=/var/log/mesos \ --hostname=ip1 \ --quorum=2 \ --work_dir=/var/lib/mesosmaster mesos-slave's command line args: --master=zk://ip1:2181,ip2:2181,ip3:2181/mesos \ --log_dir=/var/log/mesos --containerizers=docker,mesos \ --executor_registration_timeout=10mins --hostname

Akka ask through a load balancer

萝らか妹 提交于 2019-12-07 17:20:42
问题 I have the following setup: [app-a Containers] <-[load balancer]-> [app-b Containers] The containers are Docker containers and a set of containers are assigned a DNS name like app-a.marathon.mesos and app-b.marathon.mesos . Now when an actor in app-a makes an ask to a remote actor on app-b , the app-b 's sender becomes app-a.marathon.mesos . This is tremendously problemmatic because now, the reply to the asking actor may or may not arrive – it may arrive at any of the app-a containers. What

Mesos DCOS doesn't install Kafka

拟墨画扇 提交于 2019-12-07 17:11:54
问题 I'm trying to install Kafka on Mesos. Installation seems to have succeeded. vagrant@DevNode:/dcos$ dcos package install kafka This will install Apache Kafka DCOS Service. Continue installing? [yes/no] yes Installing Marathon app for package [kafka] version [0.9.4.0] Installing CLI subcommand for package [kafka] version [0.9.4.0] New command available: dcos kafka The Apache Kafka DCOS Service is installed: docs - https://github.com/mesos/kafka issues - https://github.com/mesos/kafka/issues

how to auto launch new task instance when mesos-slave stopped?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-07 06:07:25
version Info and command line args mesos-master & mesos-slave version 1.1.0 marathon version 1.4.3 docker server version 1.28 mesos-master's command line args: --zk=zk://ip1:2181,ip2:2181,ip3:2181/mesos \ --port=5050 \ --log_dir=/var/log/mesos \ --hostname=ip1 \ --quorum=2 \ --work_dir=/var/lib/mesosmaster mesos-slave's command line args: --master=zk://ip1:2181,ip2:2181,ip3:2181/mesos \ --log_dir=/var/log/mesos --containerizers=docker,mesos \ --executor_registration_timeout=10mins --hostname=ip1 \ --recovery_timeout=1mins \ --resources=ports:[25000-65000] \ --work_dir=/var/lib/mesos operation

How to use volumes-from in marathon

天大地大妈咪最大 提交于 2019-12-06 21:53:43
问题 I'm working with mesos + marathon + docker quite a while but I got stuck at some point. At the moment I try to deal with persistent container and I tried to play around with the "volumes-from" parameter but I can't make it work because I have no clue how I can figure out the name of the data box to put it as a key in the json. I tried it with the example from here { "id": "privileged-job", "container": { "docker": { "image": "mesosphere/inky" "privileged": true, "parameters": [ { "key":

Mesos cannot deploy container from private Docker registry

Deadly 提交于 2019-12-06 15:24:21
I have a private Docker registry that is accessible at https://docker.somedomain.com (over standard port 443 not 5000). My infrastructure includes a set up of Mesosphere, which have docker containerizer enabled. I'm am trying to deploy a specific container to a Mesos slave via Marathon; however, this always fails with Mesos failing the task almost immediately with no data in stderr and stdout of that sandbox. I tried deploying from an image from the standard Docker Registry and it appears to work fine. I'm having trouble figuring out what is wrong. My private Docker registry does not require

Mesos Framework

Deadly 提交于 2019-12-06 12:43:28
问题 I want to distribute Docker containers on a cluster by using java and define dependencies, so that when one container is finished I can parse the produced output in my java code. There are many mesos frameworks that can achieve that and I'm not sure which one to take: Marathon, Singularity, Chronos, Aurora. What I have learned so far: Marathon has a really nice java client api but is used for long term tasks (don't know if that is a problem, because my tasks will not run that long) and I dont

mesos+docker+marathon

六月ゝ 毕业季﹏ 提交于 2019-12-06 06:17:34
最近工作不饱和啊,加上正好有空闲的机器,就想着搭个mesos+docker+marathon玩玩。上干货: 环境Centos6.7,内核版本3.18 先安装mesos的依赖包 wget http://mirror.centos.org/centos/6/os/x86_64/Packages/apr-devel-1.3.9-5.el6_2.x86_64.rpm sudo rpm ihv apr-devel-1.3.9-5.el6_2.x86_64.rpm sudo yum install libcurl-devel apr-util-devel cyrus-sasl cyrus-sasl-devel cyrus-sasl-md5 subversion-devel 安装maven,配置PATH保证能找到mvn命令即可 BTW,linux下的依赖包一般都可以在https://pkgs.org/这个网站里找到 下载mesos-1.0.0: wget http://archive.apache.org/dist/mesos/1.0.0/mesos-1.0.0.tar.gz tar zxvf mesos-1.0.0.tar.gz cd mesos-1.0.0 # 配置安装,编译之前要保证g++版本不要过低,过低请先升级gcc版本: ./configure --prefix=/usr/local