Guest User

Untitled

a guest
Jun 25th, 2019
62
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. docker run -v /home/user/.ssh:/root/.ssh --privileged -p
  2. 5050:5050 -p 5051:5051 -p 5052:5052 -p 2181:2181 -p 8082:8081
  3. -p 6123:6123 -p 8080:8080 -p 50090:50090 -p 50070:50070 -p
  4. 9000:9000 -p 2888:2888 -p 3888:3888 -p 4041:4040 -p 7077:7077
  5. -p 52222:22 -e WEAVE_CIDR=10.32.0.2/12
  6. -e MESOS_EXECUTOR_REGISTRATION_TIMEOUT=5mins
  7. -e LIBPROCESS_IP=10.32.0.2
  8. -e MESOS_RESOURCES=ports*:[11000-11999]
  9. -ti hadoop_marathon_mesos_flink_2 /bin/bash
  10.  
  11. /home/zookeeper-3.4.14/bin/zkServer.sh restart
  12.  
  13. /home/mesos-1.7.2/build/bin/mesos-master.sh --ip=10.32.0.1
  14. --hostname=10.32.0.1 --roles=marathon,flink --quorum=1
  15. --work_dir=/var/run/mesos --log_dir=/var/log/mesos
  16.  
  17. docker run exec -it container-id /bin/bash
  18.  
  19. /home/marathon-1.7.189-48bfd6000/bin/marathon
  20. --master 10.32.0.1:5050 --zk zk://10.32.0.1:2181/marathon
  21. --hostname 10.32.0.1 --webui_url 10.32.0.1:8080
  22. --logging_level debug
RAW Paste Data