File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/scala/org/apache/mesos/chronos/scheduler Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ trait SchedulerConfiguration extends ScallopConf {
37
37
descr = " The list of ZooKeeper servers for storing state" ,
38
38
default = Some (" localhost:2181" ))
39
39
lazy val hostname = opt[String ](" hostname" ,
40
- descr = " The advertised hostname stored in ZooKeeper so another standby " +
41
- " host can redirect to this elected leader " ,
40
+ descr = " The advertised hostname of this Chronos instance for network communication. This is used by other " +
41
+ " Chronos instances and the Mesos master to communicate with this instance " ,
42
42
default = Some (java.net.InetAddress .getLocalHost.getHostName))
43
43
lazy val leaderMaxIdleTimeMs = opt[Int ](" leader_max_idle_time" ,
44
44
descr = " The look-ahead time for scheduling tasks in milliseconds" ,
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ class SchedulerDriverBuilder {
47
47
.setRole(config.mesosRole())
48
48
.setFailoverTimeout(config.failoverTimeoutSeconds())
49
49
.setUser(config.user())
50
+ .setHostname(config.hostname())
50
51
51
52
// Set the ID, if provided
52
53
frameworkId.foreach(frameworkInfoBuilder.setId)
You can’t perform that action at this time.
0 commit comments