Return-Path: X-Original-To: apmail-mesos-user-archive@www.apache.org Delivered-To: apmail-mesos-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6C5A111FE for ; Fri, 27 Jun 2014 15:19:13 +0000 (UTC) Received: (qmail 26439 invoked by uid 500); 27 Jun 2014 15:19:13 -0000 Delivered-To: apmail-mesos-user-archive@mesos.apache.org Received: (qmail 26394 invoked by uid 500); 27 Jun 2014 15:19:13 -0000 Mailing-List: contact user-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mesos.apache.org Delivered-To: mailing list user@mesos.apache.org Received: (qmail 26384 invoked by uid 99); 27 Jun 2014 15:19:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2014 15:19:13 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of benjamin.hindman@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vc0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2014 15:19:09 +0000 Received: by mail-vc0-f172.google.com with SMTP id hy10so5215388vcb.31 for ; Fri, 27 Jun 2014 08:18:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=f1PXh7IVVn38TxUyaLNdGSdy5YsV+ZtVg27q1Bkgkfo=; b=OwaqASvEt9fA88PE+Bk8HaC6H/9/d/NabSD+8dWInGBEIJay66YHXs7A9/P7JxLSO3 jyzY0AvTuUlWOhNwgmky+xMCFEYc+eWJi4xPs7Ln/33SJ/OZpEIKboNr94wEa2zjO+yr Bcj+9uRwjWr4nxKOFRMl5tvCY1hq7TfSiyu52rhHAonXsJdwAJmRWVwfjqsSE+7AfcgF wQUNxGJ5fxle05KXmWvwdgvawtQwfWQrrispCPLFPXGmrEmYQXXUIMoDT0X/1mi0CExS 9nP1Vqgy1c8g57QI5mh4P5dduUti6Lrczlxj1n8Pic3gO0s5oodeixKOrmNc8O5lSe71 CV7Q== MIME-Version: 1.0 X-Received: by 10.58.167.168 with SMTP id zp8mr20806061veb.33.1403882328742; Fri, 27 Jun 2014 08:18:48 -0700 (PDT) Received: by 10.220.78.205 with HTTP; Fri, 27 Jun 2014 08:18:48 -0700 (PDT) In-Reply-To: References: Date: Fri, 27 Jun 2014 08:18:48 -0700 Message-ID: Subject: Re: Mesos 19 startup error From: Benjamin Hindman To: "user@mesos.apache.org" Content-Type: multipart/alternative; boundary=047d7b624a7282e1ac04fcd2d341 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b624a7282e1ac04fcd2d341 Content-Type: text/plain; charset=UTF-8 You need to create the --work_dir first (in your case '/tmp/work_dir') since the Mesos master doesn't create it automatically. Sorry about the error message, it looks much worse than it is! This has since been fixed and will be included in 0.19.1. Ben. On Fri, Jun 27, 2014 at 1:47 AM, Diptanu Choudhury wrote: > Hi, > > When I start Mesos 0.19.0 on OSX 10.9, I get the following error - > > ./bin/mesos-master.sh --zk=zk://localhost:2181/mesos > --work_dir=/tmp/work_dir/ --quorum=2 > > I0627 01:45:09.698272 1979613968 main.cpp:150] Build: 2014-06-27 01:03:13 > by dchoudhury > > I0627 01:45:09.698837 1979613968 main.cpp:152] Version: 0.19.0 > > F0627 01:45:09.701522 1979613968 replica.cpp:721] CHECK_SOME(state): IO > error: ~/work_dir/replicated_log/LOCK: No such file or directoryFailed to > recover the log > > *** Check failure stack trace: *** > > @ 0x10cb0cdc4 google::LogMessage::SendToLog() > > @ 0x10cb0d2f3 google::LogMessage::Flush() > > @ 0x10cb1048f google::LogMessageFatal::~LogMessageFatal() > > @ 0x10cb0d9e9 google::LogMessageFatal::~LogMessageFatal() > > @ 0x10c535559 _CheckFatal::~_CheckFatal() > > @ 0x10c535429 _CheckFatal::~_CheckFatal() > > @ 0x10c9c3dba mesos::internal::log::ReplicaProcess::restore() > > @ 0x10c9c3861 > mesos::internal::log::ReplicaProcess::ReplicaProcess() > > @ 0x10c9c6f9b mesos::internal::log::Replica::Replica() > > @ 0x10c93730a mesos::internal::log::LogProcess::LogProcess() > > @ 0x10c93cc80 mesos::internal::log::Log::Log() > > @ 0x10c93cbfd mesos::internal::log::Log::Log() > > @ 0x10c45180c main > > @ 0x7fff8b0465fd start > > Abort trap: 6 > > > Any ideas, with what's going on here? I hope I am not invoking > mesos-master incorrectly. > > -- > Thanks, > Diptanu Choudhury > Web - www.linkedin.com/in/diptanu > Twitter - @diptanu > --047d7b624a7282e1ac04fcd2d341 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
You need to create the --work_dir first (in your case '= ;/tmp/work_dir') since the Mesos master doesn't create it automatic= ally. Sorry about the error message, it looks much worse than it is!
This has since been fixed and will be included in 0.19.1.
<= div>
Ben.=C2=A0

On Fri, Jun 27, 2014 at 1:47 AM, Diptanu Choudh= ury <diptanuc@gmail.com> wrote:
Hi,

When= I start Mesos 0.19.0 on OSX 10.9, I get the following error -

./bin/mesos-master.sh --zk=3Dzk://localhost:2181/mesos --work_dir=3D/tmp= /work_dir/ --quorum=3D2

I0627 01:45:09.698272 1979613968 main.cpp:150] Build: 2014-06-27 01:03:1= 3 by dchoudhury

I0627 01:45:09.698837 1979613968 main.cpp:152] Version: 0.19.0

F0627 01:45:09.701522 1979613968 replica.cpp:721] CHECK_SOME(state): IO = error: ~/work_dir/replicated_log/LOCK: No such file or directoryFailed to r= ecover the log

*** Check failure stack trace: ***

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10cb0cdc4=C2=A0 google::Log= Message::SendToLog()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10cb0d2f3=C2=A0 google::Log= Message::Flush()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10cb1048f=C2=A0 google::Log= MessageFatal::~LogMessageFatal()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10cb0d9e9=C2=A0 google::Log= MessageFatal::~LogMessageFatal()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10c535559=C2=A0 _CheckFatal= ::~_CheckFatal()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10c535429=C2=A0 _CheckFatal= ::~_CheckFatal()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10c9c3dba=C2=A0 mesos::inte= rnal::log::ReplicaProcess::restore()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10c9c3861=C2=A0 mesos::inte= rnal::log::ReplicaProcess::ReplicaProcess()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10c9c6f9b=C2=A0 mesos::inte= rnal::log::Replica::Replica()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10c93730a=C2=A0 mesos::inte= rnal::log::LogProcess::LogProcess()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10c93cc80=C2=A0 mesos::inte= rnal::log::Log::Log()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10c93cbfd=C2=A0 mesos::inte= rnal::log::Log::Log()

=C2=A0 =C2=A0 @=C2=A0 =C2=A0 =C2=A0 =C2=A0 0x10c45180c=C2=A0 main

=C2=A0 =C2=A0 @ =C2=A0 =C2=A0 0x7fff8b0465fd=C2=A0 start

Abort trap: 6


Any ideas, with what's going on here?= I hope I am not invoking mesos-master incorrectly.


--
Thanks, Diptanu Choudhury
Web -=C2=A0www.linkedin.com/in/diptanu
Twitter -=C2=A0@diptanu

--047d7b624a7282e1ac04fcd2d341--