Reputation: 165
I'm new to Mesos. I would like to know how do I know whether Mesos master is set up correctly in the node?
I have follow the set up given by http://mesos.apache.org/gettingstarted/
I am unable to run the following command:
Comment: Start mesos master (Ensure work directory exists and has proper permissions).
$ ./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos
but it shown error given:
./bin/mesos-master.sh: line 24: /home/user/mesos-0.20.0/build/src/mesos-master: No such file or directory
What ways should I proceed?
Upvotes: 0
Views: 1768
Reputation: 1
Have you run the make check
command ? It is said in the documentation that the binaries will only be available after running the make check
command.Ì faced the same issue and it was because i didn't run that command.
Upvotes: 0
Reputation: 369
I'd suggest to follow Mesos Getting Started documentation.
After your system requirements are satisfied, following the section:
System Requirements
Once you reach the following section:
Building Mesos
when you execute the make
without disabling verbosity, ensure that all process completed successfully. If it stops (e.g. tipically for proxy related issues) try to fix it accordingly or otherwise post your stack somewhere and I would be happy to help (if I can).
Unfortunately, running make check
could not reveal the problem sometimes.
Upvotes: 0
Reputation: 4322
First, a few questions to help us debug your build:
make
) complete successfully, and did make check
pass all the tests?/home/user/mesos-0.20.0/build/src/mesos-master
does exist, do you have execute permissions on it?./bin/mesos-master.sh
from within /home/user/mesos-0.20.0/build/
, or did you move the directory elsewhere?If this is your first attempt at Mesos and you just want to run it and try it out (rather than fix bugs and develop features for it). I would recommend using a pre-built or cloud-deployed version of Mesos, rather than trying to build it yourself. See:
Upvotes: 2