You can always pass the necessary variables via command line e.g.: 

mesos-master --log_dir=/var/log/mesos --port=5050 
mesos-slave --master=localhost:5050 --log_dir=/var/log/mesos 
--work_dir=/var/run/mesos 

Cheers, 
Tim 

----- Original Message -----

> From: "Jim Freeman" <[email protected]>
> To: [email protected]
> Sent: Thursday, January 16, 2014 12:26:30 PM
> Subject: Re: run master and slave on same host (just for testing)?

> Tim,
> Unfortunately my dev test environment is Ubuntu at the moment. How do you run
> the master and slave on the same host given they read the same mesos.conf
> file, where the content would differ depending on slave vs master?

> - Jim

> From: Tim St Clair <[email protected]>
> To: [email protected]
> Sent: Wednesday, January 15, 2014 7:23 AM
> Subject: Re: run master and slave on same host (just for testing)?

> Jim -

> If you have a Fedora 19/20 machine and are willing to take some prototypes
> for a test drive.
> I have packaged .src.rpm available for rebuild:

> http://tstclair.fedorapeople.org/mesos/

> simply `rpmbuild -bb
> http://tstclair.fedorapeople.org/mesos/mesos-0.16.0-2.d0cb03f.fc21.src.rpm`

> It's configured to put the logs in standard locations and jig'd to work out
> of the gate.

> `systemctl start mesos-master mesos-slave`

> Cheers,
> Tim

> ----- Original Message -----

> From: "Jim Freeman" < [email protected] >
> To: [email protected]
> Sent: Tuesday, January 14, 2014 7:18:56 PM
> Subject: run master and slave on same host (just for testing)?

> I'm following Mesos README's "Running a Mesos Cluster" section. Is
> [prefix]/var/mesos/conf/mesos.conf used to config both the master and slave?
> If so then I can't run master and slave on same host since the config would
> differ for master vs. slave. BTW, I don't see this file installed, nor do I
> see a .template for it anywhere.

> - Jim

> --
> Cheers,
> Tim

> --
> Cheers,
> Tim

-- 
Cheers, 
Tim 

Reply via email to