2015-12-31 57 views
0

我用下面的命令来更改端口如何更改端口马拉松

sudo ./bin/start --master local --zk zk://10.20.8.106:2181/marathon --http_port=7070 

但它不工作,我得到

[scallop] Error: Unknown option 'http_port=7070'.

由于我通过腻子 访问Ubuntu是有必要在命令中给出ubuntu机器的IP地址而不是“local”。

回答

2

我想你应该摆脱=焦炭这样的:

sudo ./bin/start --master local --zk zk://10.20.8.106:2181/marathon --http_port 7070 

看一看

有关所有可用的选项。关于--master标志:

--master (Required): The URL of the Mesos master. The format is a comma-delimited list of of hosts like zk://host1:port,host2:port/mesos. If using ZooKeeper, pay particular attention to the leading zk:// and trailing /mesos! If not using ZooKeeper, standard URLs like http://localhost are also acceptable.