You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by di...@apache.org on 2016/06/23 04:34:42 UTC

svn commit: r1749814 - /incubator/singa/site/trunk/content/markdown/docs/mesos.md

Author: dinhtta
Date: Thu Jun 23 04:34:42 2016
New Revision: 1749814

URL: http://svn.apache.org/viewvc?rev=1749814&view=rev
Log:
Updated Mesos document

Modified:
    incubator/singa/site/trunk/content/markdown/docs/mesos.md

Modified: incubator/singa/site/trunk/content/markdown/docs/mesos.md
URL: http://svn.apache.org/viewvc/incubator/singa/site/trunk/content/markdown/docs/mesos.md?rev=1749814&r1=1749813&r2=1749814&view=diff
==============================================================================
--- incubator/singa/site/trunk/content/markdown/docs/mesos.md (original)
+++ incubator/singa/site/trunk/content/markdown/docs/mesos.md Thu Jun 23 04:34:42 2016
@@ -24,7 +24,9 @@ and configure it as follows:
 * On container `node1, node2, ...`
 
         hadoop-daemon.sh start datanode
-        /opt/mesos-0.22.0/build/bin/mesos-slave.sh --master=node0:5050 --log_dir=/opt --quiet > /dev/null &
+        /opt/mesos-0.22.0/build/bin/mesos-slave.sh --master=node0:5050 --hostname=XX.XX.XX.XX --log_dir=/opt --quiet > /dev/null &
+
+  where XX.XX.XX.XX is the **public IP address** of the slave node
 
 To check if the setup has been successful, check that HDFS namenode has registered `N` datanodes, via:
 
@@ -45,8 +47,7 @@ Assumed that Mesos and HDFS are already
 
 #### Launching job
 
-1. Log in to any container, then
-        cd incubator-singa/tool/mesos
+1. Log in to any container, then go to `incubator-singa/tool/mesos`
 <a name="job_start"></a>
 2. Check that configuration files are correct:
     + `scheduler.conf` contains information about the master nodes
@@ -54,7 +55,8 @@ Assumed that Mesos and HDFS are already
     + Job configuration file `job.conf` **contains full path to the examples directories (NO RELATIVE PATH!).**
 3. Start the job:
     + If starting for the first time:
-
+            
+              make
 	          ./scheduler <job config file> -scheduler_conf <scheduler config file> -singa_conf <SINGA config file>
     + If not the first time: