I am using kill in the mean time, but it kind of makes it hard to automate
little bit. Is there a script that launches the mesos as daemon ? I
understand that i can easily write one, but would be nice if there is one
that already exists :-)




On Wed, Oct 16, 2013 at 1:22 PM, Benjamin Hindman <[email protected]>wrote:

> There isn't a corresponding stop command, you can just kill the process. We
> wanted to support running multiple masters and slaves on the same machine
> (at least for development) which makes it hard to know which master to
> "stop" if there was such a command. Plus, the operating system already
> provides a great stop command via 'kill'. ;)
>
> Hope that helps!
>
>
> On Wed, Oct 16, 2013 at 1:13 PM, Rawat <[email protected]> wrote:
>
> > Okay. Sorry for the type in my command. It got fixed when i used the
> > correct command params
> >
> >
> > ./bin/mesos-master.sh
> > --zk=zk://server1:2181,server2:2181,server3:2181/mesos
> >
> > But i still wonder what would be a corresponding stop command
> >
> >
> >
> >
> > On Wed, Oct 16, 2013 at 12:59 PM, Rawat <[email protected]> wrote:
> >
> > > Hello there,
> > >
> > > I have been browsing Mesos for last few days. I have a simple
> question. I
> > > am running Mesos with Zookeeper. I am starting my Mesos server like
> this
> > >
> > >  ./bin/mesos-master.sh --zk=server1:port;server2:port;server3:port
> > >
> > > It looks like mesos start, but why does it say "Waiting to be master".
> It
> > > should be master right away. Am i missing something ?
> > >
> > > *I1016 19:57:02.632264   368 main.cpp:114] Build: 2013-10-15 23:43:03
> by
> > > root
> > > I1016 19:57:02.632608   368 main.cpp:115] Starting Mesos master
> > > I1016 19:57:02.632817   383 master.cpp:284] Master started on
> > > 10.77.87.41:5050
> > > I1016 19:57:02.632894   383 master.cpp:299] Master ID:
> > > 201310161957-693587210-5050-368
> > > I1016 19:57:02.632916   383 master.cpp:309] Master allowing
> > > unauthenticated frameworks to register!!
> > > I1016 19:57:02.634641   383 master.cpp:695] Waiting to be master!*
> > >
> > > Also what is corresponding command to stop the master, i do not see any
> > > stop script in my ./bin/ directory.
> > >
> > >
> > >
> >
>

Reply via email to