Return-Path: X-Original-To: apmail-incubator-mesos-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA06CD993 for ; Thu, 2 Aug 2012 00:05:24 +0000 (UTC) Received: (qmail 39168 invoked by uid 500); 2 Aug 2012 00:05:24 -0000 Delivered-To: apmail-incubator-mesos-user-archive@incubator.apache.org Received: (qmail 39140 invoked by uid 500); 2 Aug 2012 00:05:24 -0000 Mailing-List: contact mesos-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-user@incubator.apache.org Delivered-To: mailing list mesos-user@incubator.apache.org Received: (qmail 39108 invoked by uid 99); 2 Aug 2012 00:05:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2012 00:05:23 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of matei@eecs.berkeley.edu does not designate 169.229.218.142 as permitted sender) Received: from [169.229.218.142] (HELO cm01fe.IST.Berkeley.EDU) (169.229.218.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2012 00:05:17 +0000 Received: from cpe586d8f30f0bb-cm0011aea1a790.cpe.net.cable.rogers.com ([99.226.38.223] helo=[192.168.1.136]) by cm01fe.ist.berkeley.edu with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (auth plain:matei@eecs.berkeley.edu) (envelope-from ) id 1SwiuN-0005Gt-5I; Wed, 01 Aug 2012 17:04:57 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1278) Subject: Re: notes from first-time user on Ubuntu 12.04 From: Matei Zaharia In-Reply-To: <3CC450FF-34F2-4E88-AB63-D2D67204EC77@cs.brown.edu> Date: Wed, 1 Aug 2012 20:04:49 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3CC450FF-34F2-4E88-AB63-D2D67204EC77@cs.brown.edu> To: mesos-user@incubator.apache.org, mesos-dev X-Mailer: Apple Mail (2.1278) X-Virus-Checked: Checked by ClamAV on apache.org Hi Andrew, We actually use mesos-dev for all the Mesos discussions -- didn't know = that mesos-user even worked! But anyway thanks for the comments, this is = really useful. Matei On Aug 1, 2012, at 7:56 PM, Andrew Ferguson wrote: > hi, >=20 > (not sure if this is a "real" mailing list yet :-) >=20 > I just wanted to write down a few notes for other first-time users on = Ubuntu 12.04. I was following https://github.com/mesos/mesos/wiki/ >=20 > - while the wiki lists packages for redhat, the corresponding ubuntu = packages are "libcppunit-dev" and "python-dev". you also need "autoconf" = and "libtool" (maybe only when building from svn) >=20 > - In the 0.9 release, one needs to change src/scripts/killtree.sh to = use /bin/bash instead of /bin/sh (I see this is already fixed in trunk. = nice!) >=20 > - to get "src/test-framework" to run, I had to copy = src/.libs/libmesos-0.9.0.so to /usr/lib by hand (I hadn't done 'make = install' or anything -- I was just running from a local directory, as = the wiki directions walk you through). The Java and Python frameworks = work like a charm. I imagine it's libtool's responsibility to make = this "just work"? sorry I didn't manage to debug this on my own. >=20 >=20 > also, out of curiosity, when the test-framework was failing (because = it couldn't find the library), its tasks just sat in the TASK_STAGING = state -- would they eventually timeout? also, it seems a little strange = that they're in TASK_STAGNING and not TASK_FAILED or something like = that, but I'm new to Mesos. :-) >=20 >=20 > kudos on all the hard work! >=20 >=20 > cheers, > Andrew >=20 >=20 > PS -- a few more log details. here's a snip my Mesos slave: >=20 > I0801 16:35:15.350121 17190 slave.cpp:436] Got assigned task 4 for = framework 20120801163516842879-5050-17155-0000 > I0801 16:35:15.350195 17190 slave.cpp:1484] Generating a unique work = directory for executor 'default' of framework = 20120801163516842879-5050-17155-0000 > I0801 16:35:15.350390 17190 slave.cpp:501] Using = '/tmp/mesos/slaves/20120801163516842879-5050-17155-0/frameworks/2012080116= 3516842879-5050-17155-0000/executors/default/runs/1' as work directory = for executor 'default' of framework 20120801163516842879-5050-17155-0000 > I0801 16:35:15.396283 17193 process_based_isolation_module.cpp:91] = Launching default (/home/adf/mesos/mesos-0.9.0/src/.libs/test-executor) = in = /tmp/mesos/slaves/20120801163516842879-5050-17155-0/frameworks/20120801163= 516842879-5050-17155-0000/executors/default/runs/1 with resources ' for = framework 20120801163516842879-5050-17155-0000 > I0801 16:35:15.396702 17193 process_based_isolation_module.cpp:114] = Forked executor at 17257 > I0801 16:35:16.343758 17191 process_based_isolation_module.cpp:207] = Telling slave of lost executor default of framework = 20120801163516842879-5050-17155-0000 > I0801 16:35:16.343873 17192 slave.cpp:1307] Executor 'default' of = framework 20120801163516842879-5050-17155-0000 has exited with status = 127 >=20 >=20 > then, if we look at the stderr for the file the above log snippet = references: >=20 > $ cat = /tmp/mesos/slaves/20120801163516842879-5050-17155-0/frameworks/20120801163= 516842879-5050-17155-0000/executors/default/runs/1/stderr=20 > /home/adf/mesos/mesos-0.9.0/src/.libs/test-executor: error while = loading shared libraries: libmesos-0.9.0.so: cannot open shared object = file: No such file or directory >=20