Hi Sweta, I'm a bit confused about what works for you and what doesn't. Are you now able to start mesos-master and mesos-slave and launch an example framework?
On Thu, Nov 6, 2014 at 9:16 PM, Sweta Rani <[email protected]> wrote: > Cloning from svn repo gave following error: > > proxima@proxima-HP-Pavilion-m6-Notebook-PC:~/mesodoc$ rake > Cloning Apache Mesos codebase > Cloning into '/home/proxima/mesodoc/tmp/mesos'... > remote: Counting objects: 1075, done. > remote: Compressing objects: 100% (935/935), done. > remote: Total 1075 (delta 221), reused 537 (delta 83) > Receiving objects: 100% (1075/1075), 26.77 MiB | 171.00 KiB/s, done. > Resolving deltas: 100% (221/221), done. > Checking connectivity... done. > Updating latest documentation from the Apache Mesos codebase > Updating docs to the latest version > rake aborted! > Errno::ENOENT: No such file or directory - > /home/proxima/mesodoc/source/documentation/latest/ > running-torque-or-mpi-on-mesos.md > /home/proxima/mesodoc/Rakefile:43:in `block in <top (required)>' > Tasks: TOP => default => update_docs > > Neither I could get assets folder in this. How will I make changes? > > On Thu Nov 06 2014 at 10:55:38 PM Joris Van Remoortere < > [email protected]> > wrote: > > > If you run: mesos-slave.sh --help > > Then you will see all the options you can pass to the slave. One of them > > is --port=VALUE > > > > Joris > > > > On Thu, Nov 6, 2014 at 6:39 AM, Sweta Rani <[email protected]> > > wrote: > > > > > How can I change port for mesos-slave from default 5051 to 5052? > > > > > > *Sweta Rani* > > > > > > On Thu, Nov 6, 2014 at 7:58 PM, Sweta Rani <[email protected]> > > > wrote: > > > > > > > Alex, > > > > > > > > Done with master but unable to run slave using command > > > "./bin/mesos-slave.sh > > > > --master=127.0.0.1:5050" > > > > Also the port 5051 is allocated with random work '-'. See this: > > > > proxima@proxima:~/mesos/build$ netstat -ltnp | grep ':5051' > > > > (Not all processes could be identified, non-owned process info > > > > will not be shown, you would have to be root to see it all.) > > > > tcp 0 0 0.0.0.0:5051 0.0.0.0:* > > > > LISTEN - > > > > proxima@proxima:~/mesos/build$ sudo kill -9 - > > > > kill: failed to parse argument: '-' > > > > proxima@proxima:~/mesos/build$ netstat -ltnp | grep ':5051' > > > > (Not all processes could be identified, non-owned process info > > > > will not be shown, you would have to be root to see it all.) > > > > tcp 0 0 0.0.0.0:5051 0.0.0.0:* > > > > LISTEN - > > > > proxima@:~/mesos/build$ ./bin/mesos-slave.sh --master=127.0.0.1:5050 > > > > WARNING: Logging before InitGoogleLogging() is written to STDERR > > > > F1106 19:51:22.737992 6367 process.cpp:1532] Failed to initialize, > bind > > > > 0.0.0.0:5051: Address already in use [98] > > > > *** Check failure stack trace: *** > > > > Aborted (core dumped) > > > > > > > > > > > > *Sweta Rani* > > > > > > > > On Thu, Nov 6, 2014 at 7:07 PM, Alex Rukletsov <[email protected]> > > > wrote: > > > > > > > >> Sweta, > > > >> > > > >> have you tried another port? > > > >> > > > >> On Thu, Nov 6, 2014 at 2:24 PM, Sweta Rani <[email protected] > > > > > >> wrote: > > > >> > > > >> > Joris > > > >> > > > > >> > Done with above commands, but now it gives following error: > > > >> > WARNING: Logging before InitGoogleLogging() is written to STDERR > > > >> > F1106 18:50:48.117947 9706 process.cpp:1532] Failed to > initialize, > > > bind > > > >> > 127.0.0.1:5050: Address already in use [98] > > > >> > *** Check failure stack trace: *** > > > >> > > > > >> > I tried to solve it by > > > >> > > > > >> > > > > >> > > > http://stackoverflow.com/questions/10745878/ubuntu- > > error-with-apache-98address-already-in-use > > > >> > but it didnt work for me. > > > >> > > > > >> > > > > >> > *Sweta Rani* > > > >> > > > > >> > On Wed, Nov 5, 2014 at 3:50 AM, Joris Van Remoortere < > > > >> [email protected]> > > > >> > wrote: > > > >> > > > > >> > > You need to make the directory and set the permissions to the > user > > > you > > > >> > are > > > >> > > running the master as. > > > >> > > > > > >> > > For example: > > > >> > > > > > >> > > sudo mkdir /var/lib/mesos > > > >> > > sudo chown jmlvanre /var/lib/mesos > > > >> > > > > > >> > > [jmlvanre] <run mesos master...> > > > >> > > > > > >> > > On Tue, Nov 4, 2014 at 2:07 PM, Sweta Rani < > > [email protected] > > > > > > > >> > > wrote: > > > >> > > > > > >> > > > Thanks for your help. I have installed mesos but unable to > > start > > > >> mesos > > > >> > > > master by the command > > > >> > > > "./bin/mesos-master.sh --ip=127.0.0.1 > > --work_dir=/var/lib/mesos". > > > >> > > > > > > >> > > > The file exists as "mesos-master.sh.in" in the bin folder. > > > >> > > > > > > >> > > > It reports: > > > >> > > > Failed to create work directory '/var/lib/mesos': Permission > > > denied > > > >> > > > > > > >> > > > *Sweta Rani* > > > >> > > > > > > >> > > > On Tue, Nov 4, 2014 at 2:50 PM, Adam Bordelon < > > [email protected] > > > > > > > >> > > wrote: > > > >> > > > > > > >> > > > > As an alternate workaround, if you don't need the Java > support > > > >> > (you're > > > >> > > > not > > > >> > > > > running a JVM framework like Spark/Hadoop/Marathon), then > you > > > >> could > > > >> > use > > > >> > > > > `configure --disable-java` to skip all the maven/pom build > > > steps. > > > >> > > > > > > > >> > > > > By disabling Java, you could at least check that the rest of > > > Mesos > > > >> > > builds > > > >> > > > > and runs fine, which would still work with C++, Python, or > Go > > > >> > > frameworks, > > > >> > > > > or even any Java frameworks using the pure Java bindings > > > (jesos). > > > >> > > > > > > > >> > > > > On Mon, Nov 3, 2014 at 2:01 PM, Joris Van Remoortere < > > > >> > > > [email protected]> > > > >> > > > > wrote: > > > >> > > > > > > > >> > > > > > Did you verify that the settings.xml file was parsed using > > mvn > > > >> -X? > > > >> > > > > > > > > >> > > > > > Specifically after the first few lines you will see > > something > > > >> along > > > >> > > the > > > >> > > > > > lines of: > > > >> > > > > > [DEBUG] Reading global settings from > > > >> > > /usr/share/maven/conf/settings.xml > > > >> > > > > > [DEBUG] Reading user settings from > > /home/abc/.m2/settings.xml > > > >> > > > > > [DEBUG] Using local repository at /home/abc/.m2/repository > > > >> > > > > > > > > >> > > > > > Make sure your settings file is in the right location. > > > >> > > > > > > > > >> > > > > > On Mon, Nov 3, 2014 at 11:51 AM, Sweta Rani < > > > >> > [email protected] > > > >> > > > > > > >> > > > > > wrote: > > > >> > > > > > > > > >> > > > > > > I use campus proxy configuration for internet. But I am > > > >> unable to > > > >> > > run > > > >> > > > > > make > > > >> > > > > > > in installing Mesos on my Ubuntu -14.04, as it ends up > > with > > > >> > > ERROR(1). > > > >> > > > > > Upon > > > >> > > > > > > searching, I created settings.xml file inside .m2 with > the > > > >> > required > > > >> > > > > > > configuration but failed again. Please help me out, as > it > > is > > > >> > > greatly > > > >> > > > > > > hindering me from my work. > > > >> > > > > > > > > > >> > > > > > > On Sat Nov 01 2014 at 3:38:57 AM Joris Van Remoortere < > > > >> > > > > > [email protected] > > > >> > > > > > > > > > > >> > > > > > > wrote: > > > >> > > > > > > > > > >> > > > > > > > I think this suggests you're fetching through a proxy: > > > >> > > > > > > > *Proxy request sent, awaiting response... 200 OK* > > > >> > > > > > > > > > > >> > > > > > > > When I wget this is my output: > > > >> > > > > > > > wget > > > >> > http://repo.maven.apache.org/maven2/org/apache/apache/11/ > > > >> > > > > > > > apache-11.pom > > > >> > > > > > > > --2014-10-31 > > > >> > > > > > > > < > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > http://repo.maven.apache.org/maven2/org/apache/apache/11/ > > apache-11.pom--2014-10-31 > > > >> > > > > > > > > > > >> > > > > > > > 15:05:32-- > > > >> > > > > > > > > > > >> > > > > > > > >> > > > > http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom > > > >> > > > > > > > Resolving repo.maven.apache.org ( > repo.maven.apache.org > > > )... > > > >> > > > > > 23.235.47.215 > > > >> > > > > > > > Connecting to repo.maven.apache.org > > > >> > > > > > > > (repo.maven.apache.org)|23.235.47.215|:80... > > > >> > > > > > > > connected. > > > >> > > > > > > > *HTTP request sent, awaiting response... 200 OK* > > > >> > > > > > > > > > > >> > > > > > > > I think you might need to set up your proxy along > these > > > >> lines: > > > >> > > > > > > > > http://maven.apache.org/guides/mini/guide-proxies.html > > > ... > > > >> > but I > > > >> > > > am > > > >> > > > > > not > > > >> > > > > > > > familiar with Maven. > > > >> > > > > > > > > > > >> > > > > > > > Joris > > > >> > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > On Fri, Oct 31, 2014 at 2:36 PM, Sweta Rani < > > > >> > > > [email protected] > > > >> > > > > > > > > >> > > > > > > > wrote: > > > >> > > > > > > > > > > >> > > > > > > > > Tried wget for all the given https, it was > successful > > > but > > > >> > still > > > >> > > > > after > > > >> > > > > > > > that > > > >> > > > > > > > > make was not successful and make check says "YOU > HAVE > > 3 > > > >> > > DISABLED > > > >> > > > > > TESTS" > > > >> > > > > > > > > > > > >> > > > > > > > > proxima@Centauri:~/mesos/build$ wget > > > >> > > > > > > > > > > > >> > > > > > > > > >> > > > > > >> http://repo.maven.apache.org/maven2/org/apache/apache/11/ > > apache-11.pom > > > >> > > > > > > > > --2014-11-01 02:55:51-- > > > >> > > > > > > > > > > > >> > > > > > > > > >> > > > > > >> http://repo.maven.apache.org/maven2/org/apache/apache/11/ > > apache-11.pom > > > >> > > > > > > > > Connecting to 10.3.100.207:8080... connected. > > > >> > > > > > > > > Proxy request sent, awaiting response... 200 OK > > > >> > > > > > > > > Length: 14811 (14K) [text/xml] > > > >> > > > > > > > > Saving to: ‘apache-11.pom’ > > > >> > > > > > > > > > > > >> > > > > > > > > >> *Joris Van Remoortere* > > > >> > > > > > > > > > > > >> > > > > > > > > On Sat Nov 01 2014 at 2:36:27 AM Joris Van > Remoortere > > < > > > >> > > > > > > > [email protected] > > > >> > > > > > > > > > > > > >> > > > > > > > > wrote: > > > >> > > > > > > > > > > > >> > > > > > > > > > That seems like you might have a connectivity / > > > firewall > > > >> > > issue. > > > >> > > > > > > > > > Can you try just doing a wget on that artifact? > > > >> > > > > > > > > > > > > >> > > > > > > > > > On Fri, Oct 31, 2014 at 1:56 PM, Sweta Rani < > > > >> > > > > > [email protected] > > > >> > > > > > > > > > > >> > > > > > > > > > wrote: > > > >> > > > > > > > > > > > > >> > > > > > > > > > > I tried it again but failed with following > errors > > : > > > >> > > > > > > > > > > > > > >> > > > > > > > > > > make[1]: Entering directory > > > >> > `/home/proxima/mesos/build/src' > > > >> > > > > > > > > > > Building mesos-0.21.0.jar ... > > > >> > > > > > > > > > > [INFO] Scanning for projects... > > > >> > > > > > > > > > > Downloading: > > > >> > > > > > > > > > > > > > >> > http://repo.maven.apache.org/maven2/org/apache/apache/11/ > > > >> > > > > > > > apache-11.pom > > > >> > > > > > > > > > > [ERROR] The build could not read 1 project -> > > [Help > > > 1] > > > >> > > > > > > > > > > [ERROR] > > > >> > > > > > > > > > > [ERROR] The project > > org.apache.mesos:mesos:0.21.0 > > > >> > > > > > > > > > > (/home/proxima/mesos/build/src/java/mesos.pom) > > has 1 > > > >> > error > > > >> > > > > > > > > > > [ERROR] Non-resolvable parent POM: Could not > > > >> transfer > > > >> > > > > > artifact > > > >> > > > > > > > > > > org.apache:apache:pom:11 from/to central ( > > > >> > > > > > > > > > > http://repo.maven.apache.org/maven2): > Connection > > to > > > >> > > > > > > > > > > http://repo.maven.apache.org refused and > > > >> > > > 'parent.relativePath' > > > >> > > > > > > > points > > > >> > > > > > > > > at > > > >> > > > > > > > > > > wrong local POM @ line 18, column 11: Connection > > > >> refused > > > >> > -> > > > >> > > > > [Help > > > >> > > > > > > 2] > > > >> > > > > > > > > > > [ERROR] > > > >> > > > > > > > > > > [ERROR] To see the full stack trace of the > errors, > > > >> re-run > > > >> > > > Maven > > > >> > > > > > > with > > > >> > > > > > > > > the > > > >> > > > > > > > > > -e > > > >> > > > > > > > > > > switch. > > > >> > > > > > > > > > > [ERROR] Re-run Maven using the -X switch to > enable > > > >> full > > > >> > > debug > > > >> > > > > > > > logging. > > > >> > > > > > > > > > > [ERROR] > > > >> > > > > > > > > > > [ERROR] For more information about the errors > and > > > >> > possible > > > >> > > > > > > solutions, > > > >> > > > > > > > > > > please read the following articles: > > > >> > > > > > > > > > > [ERROR] [Help 1] > > > >> > > > > > > > > > > > > > >> > > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuil > > > >> > > > > > > > > > dingException > > > >> > > > > > > > > > > [ERROR] [Help 2] > > > >> > > > > > > > > > > > > > >> > > http://cwiki.apache.org/confluence/display/MAVEN/Unresolvabl > > > >> > > > > > > > > > eModelException > > > >> > > > > > > > > > > make[1]: *** [java/target/mesos-0.21.0.jar] > Error > > 1 > > > >> > > > > > > > > > > make[1]: Leaving directory > > > >> > `/home/proxima/mesos/build/src' > > > >> > > > > > > > > > > make: *** [all-recursive] Error 1 > > > >> > > > > > > > > > > > > > >> > > > > > > > > > > > > > >> > > > > > > > > > > On Fri Oct 31 2014 at 1:09:15 PM Sweta Rani < > > > >> > > > > > > [email protected] > > > >> > > > > > > > > > > > >> > > > > > > > > > > wrote: > > > >> > > > > > > > > > > > > > >> > > > > > > > > > > > yaa.. followed the steps as directed in the > > > >> > > documentation > > > >> > > > > > > > > > > > > > > >> > > > > > > > > > > > *Sweta Rani* > > > >> > > > > > > > > > > > *3rd Year Undergraduate* > > > >> > > > > > > > > > > > *Department of Electrical Engineering* > > > >> > > > > > > > > > > > *IIT Kharagpur <http://www.iitkgp.ac.in/>* > > > >> > > > > > > > > > > > > > > >> > > > > > > > > > > > On Fri, Oct 31, 2014 at 3:14 AM, Dominic > Hamon < > > > >> > > > > > > > > > [email protected]> > > > >> > > > > > > > > > > > wrote: > > > >> > > > > > > > > > > > > > > >> > > > > > > > > > > >> Let's tackle the easy stuff: did you run > > > bootstrap > > > >> and > > > >> > > > > > configure > > > >> > > > > > > > as > > > >> > > > > > > > > > per > > > >> > > > > > > > > > > >> the > > > >> > > > > > > > > > > >> getting started doc? > > > >> > > > > > > > > > > >> On Oct 30, 2014 2:04 PM, "Sweta Rani" < > > > >> > > > > > [email protected]> > > > >> > > > > > > > > > wrote: > > > >> > > > > > > > > > > >> > > > >> > > > > > > > > > > >> > Tried all the suggestions and tips given in > > > JIRA > > > >> and > > > >> > > > > > different > > > >> > > > > > > > > > google > > > >> > > > > > > > > > > >> > forums but still the error remains same. > > > >> > > > > > > > > > > >> > > > > >> > > > > > > > > > > >> > Making all in . > > > >> > > > > > > > > > > >> > make[1]: Entering directory > > > >> > > `/home/proxima/mesos/build' > > > >> > > > > > > > > > > >> > make[1]: Nothing to be done for `all-am'. > > > >> > > > > > > > > > > >> > make[1]: Leaving directory > > > >> > `/home/proxima/mesos/build' > > > >> > > > > > > > > > > >> > Making all in 3rdparty > > > >> > > > > > > > > > > >> > make[1]: Entering directory > > > >> > > `/home/proxima/mesos/build/ > > > >> > > > > > > > 3rdparty' > > > >> > > > > > > > > > > >> > make all-recursive > > > >> > > > > > > > > > > >> > make[2]: Entering directory > > > >> > > `/home/proxima/mesos/build/ > > > >> > > > > > > > 3rdparty' > > > >> > > > > > > > > > > >> > Making all in libprocess > > > >> > > > > > > > > > > >> > make[3]: Entering directory > > > >> > > > > > > > > > > >> `/home/proxima/mesos/build/ > > 3rdparty/libprocess' > > > >> > > > > > > > > > > >> > Making all in 3rdparty > > > >> > > > > > > > > > > >> > make[4]: Entering directory > > > >> > > > > > > > > > > >> > > > > >> > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > >> > > > > > > > > > > >> > make all-recursive > > > >> > > > > > > > > > > >> > make[5]: Entering directory > > > >> > > > > > > > > > > >> > > > > >> > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > >> > > > > > > > > > > >> > Making all in stout > > > >> > > > > > > > > > > >> > make[6]: Entering directory > > > >> > > > > > > > > > > >> > > > > >> > > > > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/ > > stout' > > > >> > > > > > > > > > > >> > Making all in . > > > >> > > > > > > > > > > >> > make[7]: Entering directory > > > >> > > > > > > > > > > >> > > > > >> > > > > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/ > > stout' > > > >> > > > > > > > > > > >> > make[7]: Nothing to be done for `all-am'. > > > >> > > > > > > > > > > >> > make[7]: Leaving directory > > > >> > > > > > > > > > > >> > > > > >> > > > > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/ > > stout' > > > >> > > > > > > > > > > >> > Making all in include > > > >> > > > > > > > > > > >> > make[7]: Entering directory > > > >> > > > > > > > > > > >> > > > > >> > > > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/stou > > > >> > > > > > > > > > t/include' > > > >> > > > > > > > > > > >> > make[7]: Nothing to be done for `all'. > > > >> > > > > > > > > > > >> > make[7]: Leaving directory > > > >> > > > > > > > > > > >> > > > > >> > > > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/stou > > > >> > > > > > > > > > t/include' > > > >> > > > > > > > > > > >> > make[6]: Leaving directory > > > >> > > > > > > > > > > >> > > > > >> > > > > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/ > > stout' > > > >> > > > > > > > > > > >> > make[6]: Entering directory > > > >> > > > > > > > > > > >> > > > > >> > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > >> > > > > > > > > > > >> > make[6]: Nothing to be done for `all-am'. > > > >> > > > > > > > > > > >> > make[6]: Leaving directory > > > >> > > > > > > > > > > >> > > > > >> > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > >> > > > > > > > > > > >> > make[5]: Leaving directory > > > >> > > > > > > > > > > >> > > > > >> > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > >> > > > > > > > > > > >> > make[4]: Leaving directory > > > >> > > > > > > > > > > >> > > > > >> > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > >> > > > > > > > > > > >> > Making all in . > > > >> > > > > > > > > > > >> > make[4]: Entering directory > > > >> > > > > > > > > > > >> `/home/proxima/mesos/build/ > > 3rdparty/libprocess' > > > >> > > > > > > > > > > >> > make[4]: Nothing to be done for `all-am'. > > > >> > > > > > > > > > > >> > make[4]: Leaving directory > > > >> > > > > > > > > > > >> `/home/proxima/mesos/build/ > > 3rdparty/libprocess' > > > >> > > > > > > > > > > >> > Making all in include > > > >> > > > > > > > > > > >> > make[4]: Entering directory > > > >> > > > > > > > > > > >> > > > > >> > > `/home/proxima/mesos/build/3rdparty/libprocess/include' > > > >> > > > > > > > > > > >> > make[4]: Nothing to be done for `all'. > > > >> > > > > > > > > > > >> > make[4]: Leaving directory > > > >> > > > > > > > > > > >> > > > > >> > > `/home/proxima/mesos/build/3rdparty/libprocess/include' > > > >> > > > > > > > > > > >> > make[3]: Leaving directory > > > >> > > > > > > > > > > >> `/home/proxima/mesos/build/ > > 3rdparty/libprocess' > > > >> > > > > > > > > > > >> > make[3]: Entering directory > > > >> > > `/home/proxima/mesos/build/ > > > >> > > > > > > > 3rdparty' > > > >> > > > > > > > > > > >> > make[3]: Nothing to be done for `all-am'. > > > >> > > > > > > > > > > >> > make[3]: Leaving directory > > > >> > > > > > > `/home/proxima/mesos/build/3rdparty' > > > >> > > > > > > > > > > >> > make[2]: Leaving directory > > > >> > > > > > > `/home/proxima/mesos/build/3rdparty' > > > >> > > > > > > > > > > >> > make[1]: Leaving directory > > > >> > > > > > > `/home/proxima/mesos/build/3rdparty' > > > >> > > > > > > > > > > >> > Making all in src > > > >> > > > > > > > > > > >> > make[1]: Entering directory > > > >> > > > > `/home/proxima/mesos/build/src' > > > >> > > > > > > > > > > >> > make[1]: *** No rule to make target `all'. > > > Stop. > > > >> > > > > > > > > > > >> > make[1]: Leaving directory > > > >> > > > `/home/proxima/mesos/build/src' > > > >> > > > > > > > > > > >> > make: *** [all-recursive] Error 1 > > > >> > > > > > > > > > > >> > > > > >> > > > > > > > > > > >> > *Sweta Rani* > > > >> > > > > > > > > > > >> > > > > >> > > > > > > > > > > >> > > > >> > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > >> > > > > > > > > > > > > > >> > > > > > > > > > > > > >> > > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > > > > > > > > > > > >
