나는 팔로우하고 있다https://blog.couchbase.com/docker-apache-mesos-marathon/그리고 메소스 마라톤 클러스터를 설정해 보세요. Marathon을 제외한 모든 프로세스가 제대로 작동하고 상태가 실행 중으로 표시됩니다.
- Virtual Box를 사용하여 CentOS 운영 체제로 가상 머신을 구성하십시오.
- /etc/hosts에는 다음 항목이 있습니다.
[root@localhost lib]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
192.168.56.102 localhost localhost.localdomain localhost localhost.localdomain
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
MESOS_HOSTNAME=192.168.56.102
[root@localhost lib]#
[root@localhost lib]# sudo service mesos-master status
Redirecting to /bin/systemctl status mesos-master.service
● mesos-master.service - Mesos Master
Loaded: loaded (/usr/lib/systemd/system/mesos-master.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2018-09-14 18:55:08 EDT; 50min ago
Main PID: 25196 (mesos-master)
Tasks: 21
Memory: 9.0M
CGroup: /system.slice/mesos-master.service
├─25196 /usr/sbin/mesos-master --zk=zk://localhost:2181/mesos --port=5050 --log_dir=/var/log/mesos --quorum=1 --work_dir=/var/lib/mesos
├─25207 logger -p user.info -t mesos-master[25196]
└─25208 logger -p user.err -t mesos-master[25196]
Sep 14 19:37:12 localhost.localdomain mesos-master[25208]: 2018-09-14 19:37:12,202:25196(0x7f31427fc700):ZOO_WARN@zookeeper_interest@1597: Exceeded deadline by 17ms
Sep 14 19:40:52 localhost.localdomain mesos-master[25208]: 2018-09-14 19:40:52,564:25196(0x7f31437fe700):ZOO_WARN@zookeeper_interest@1597: Exceeded deadline by 11ms
Sep 14 19:40:55 localhost.localdomain mesos-master[25208]: 2018-09-14 19:40:55,911:25196(0x7f31417fa700):ZOO_WARN@zookeeper_interest@1597: Exceeded deadline by 12ms
Sep 14 19:40:55 localhost.localdomain mesos-master[25208]: 2018-09-14 19:40:55,911:25196(0x7f31427fc700):ZOO_WARN@zookeeper_interest@1597: Exceeded deadline by 12ms
Sep 14 19:40:55 localhost.localdomain mesos-master[25208]: 2018-09-14 19:40:55,911:25196(0x7f3127fff700):ZOO_WARN@zookeeper_interest@1597: Exceeded deadline by 12ms
Sep 14 19:40:55 localhost.localdomain mesos-master[25208]: 2018-09-14 19:40:55,911:25196(0x7f31437fe700):ZOO_WARN@zookeeper_interest@1597: Exceeded deadline by 12ms
Sep 14 19:44:39 localhost.localdomain mesos-master[25208]: 2018-09-14 19:44:39,594:25196(0x7f31417fa700):ZOO_WARN@zookeeper_interest@1597: Exceeded deadline by 12ms
Sep 14 19:44:39 localhost.localdomain mesos-master[25208]: 2018-09-14 19:44:39,594:25196(0x7f3127fff700):ZOO_WARN@zookeeper_interest@1597: Exceeded deadline by 12ms
Sep 14 19:44:39 localhost.localdomain mesos-master[25208]: 2018-09-14 19:44:39,594:25196(0x7f31437fe700):ZOO_WARN@zookeeper_interest@1597: Exceeded deadline by 12ms
Sep 14 19:44:39 localhost.localdomain mesos-master[25208]: 2018-09-14 19:44:39,594:25196(0x7f31427fc700):ZOO_WARN@zookeeper_interest@1597: Exceeded deadline by 12ms
내가 어디서 잘못되었는지 모르겠습니다.
내 Linux 가상 머신 IP는 192.168.56.102입니다. Putty를 통해서도 로그인할 수 있지만 mesos UI에 액세스할 수 없습니다.
답변1
이 문제는 java.util.Settings를 올바르게 구성하여 해결되었습니다. jdk home의 ENV 변수가 내보내졌습니다.