[prev in list] [next in list] [prev in thread] [next in thread]
List: mesos-user
Subject: Re: Proposing a fatal log for not finding mesos-fetcher
From: agallego () concord ! io
Date: 2015-07-31 2:50:08
Message-ID: CF9EC733-31AA-47E6-A0DA-D755C60D59B8 () concord ! io
[Download RAW message or body]
- sent from my phone, please excuse my handwriting.
> On Jul 30, 2015, at 10:11 PM, haosdent <haosdent@gmail.com> wrote:
>
> > Eventually i diff'ed a working copy of a filesystem and found that \
> > /usr/local/libexec/mesos was missing.
> How you install mesos?
I have my custom build. Nothing fancy just using my own versions of glog and the like
I generate a tar/deb and install it. Jenkins had a blip so that folder wasn't tared \
up
>
> > On Fri, Jul 31, 2015 at 7:54 AM, Alexander Gallego <agallego@concord.io> wrote:
> > I was debugging a mesos installation and came across this in the \
> > mesos-master.error log
> > E0730 22:09:32.288753 178 containerizer.cpp:556] Failed to determine the \
> > canonical path for the mesos-fetcher '/usr/local/libexec/mesos/mesos-fetcher': No \
> > such file or directory
> > The issue is that when you try to then launch a task you get a (w/ c++-filt)
> >
> > $ c++filt _ZNSt5_BindIFPFiRKSsPPcRKN7process10Subprocess2IOES8_S8_PN2os7ExecEnvERK \
> > 6OptionISt8functionIFivEEEPiSJ_SJ_ESsS3_S6_S6_S6_SB_SG_SJ_SJ_SJ_EE6__callIiJEJLm0E \
> > Lm1ELm2ELm3ELm4ELm5ELm6ELm7ELm8ELm9EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE
> > int std::_Bind<int (*(std::basic_string<char, std::char_traits<char>, \
> > std::allocator<char> >, char**, process::Subprocess::IO, process::Subprocess::IO, \
> > process::Subprocess::IO, os::ExecEnv*, Option<std::function<int ()> >, int*, \
> > int*, int*))(std::basic_string<char, std::char_traits<char>, std::allocator<char> \
> > > const&, char**, process::Subprocess::IO const&, process::Subprocess::IO const&, \
> > > process::Subprocess::IO const&, os::ExecEnv*, Option<std::function<int ()> > \
> > > const&, int*, int*, int*)>::__call<int, , 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, \
> > > 7ul, 8ul, 9ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, \
> > > 6ul, 7ul, 8ul, 9ul>)
> >
> >
> > which is basically impossible to realize that the error is here:
> >
> > https://github.com/apache/mesos/blob/master/3rdparty/libprocess/src/subprocess.cpp#L177
> >
> > and that the source is that the fetcher is missing.
> >
> > Eventually i diff'ed a working copy of a filesystem and found that \
> > /usr/local/libexec/mesos was missing.
> >
> > Technically this isn't an error w/ mesos as in if the executables are in place, \
> > things will run smoothly. However, if part of mesos is not in the environment, \
> > then is the consensus to just 'attempt' to work instead of failing fast. i.e.: \
> > failing on startup with a log that says?
> > mesos-fetcher missing, please check /usr/local/libexec/mesos (default)
> >
> > Just a thought.
>
>
>
> --
> Best Regards,
> Haosdent Huang
[Attachment #3 (text/html)]
<html><head><meta http-equiv="content-type" content="text/html; \
charset=utf-8"></head><body dir="auto"><div><br><br>- sent from my phone, please \
excuse my handwriting. </div><div><br>On Jul 30, 2015, at 10:11 PM, haosdent \
<<a href="mailto:haosdent@gmail.com">haosdent@gmail.com</a>> \
wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">><span \
style="font-size:12.8000001907349px">Eventually i diff'ed a working copy of a \
filesystem and found that /usr/local/libexec/mesos was missing. </span><div>How \
you install mesos?</div></div></div></blockquote><div><br></div><div><br></div><div>I \
have my custom build. Nothing fancy just using my own versions of glog and the \
like</div><div><br></div><div>I generate a tar/deb and install it. Jenkins had a blip \
so that folder wasn't tared \
up</div><div><br></div><div><br></div><div><br></div><br><blockquote \
type="cite"><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul \
31, 2015 at 7:54 AM, Alexander Gallego <span dir="ltr"><<a \
href="mailto:agallego@concord.io" target="_blank">agallego@concord.io</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div dir="ltr">I was debugging a mesos installation and \
came across this in the mesos-master.error log<div><br></div><div><pre \
style="padding:0.5rem;font-family:Monaco,Menlo,Consolas,'Courier \
New',monospace;font-size:0.75rem;color:rgb(51,51,51);border-radius:4px;margin-top:0.5r \
em;margin-bottom:0.2rem;line-height:18.3999996185303px;word-break:normal;word-wrap:break-word;white-space:pre-wrap;border:1px \
solid rgba(0,0,0,0.14902);background:rgb(251,250,248)">E0730 22:09:32.288753 \
178 containerizer.cpp:556] Failed to determine the canonical path for the \
mesos-fetcher '/usr/local/libexec/mesos/mesos-fetcher': No such file or \
directory</pre><div><br></div><div>The issue is that when you try to then launch a \
task you get a (w/ c++-filt)</div><div><br></div><div><pre \
style="padding:0.5rem;font-family:Monaco,Menlo,Consolas,'Courier \
New',monospace;font-size:0.75rem;color:rgb(51,51,51);border-radius:4px;margin-top:0.5r \
em;margin-bottom:0.2rem;line-height:18.3999996185303px;word-break:normal;word-wrap:break-word;white-space:pre-wrap;border:1px \
solid rgba(0,0,0,0.14902);background:rgb(251,250,248)">$ c++filt \
_ZNSt5_BindIFPFiRKSsPPcRKN7process10Subprocess2IOES8_S8_PN2os7ExecEnvERK6OptionISt8fun \
ctionIFivEEEPiSJ_SJ_ESsS3_S6_S6_S6_SB_SG_SJ_SJ_SJ_EE6__callIiJEJLm0ELm1ELm2ELm3ELm4ELm5ELm6ELm7ELm8ELm9EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE<br>int \
std::_Bind<int (*(std::basic_string<char, std::char_traits<char>, \
std::allocator<char> >, char**, process::Subprocess::IO, \
process::Subprocess::IO, process::Subprocess::IO, os::ExecEnv*, \
Option<std::function<int ()> >, int*, int*, \
int*))(std::basic_string<char, std::char_traits<char>, \
std::allocator<char> > const&, char**, process::Subprocess::IO \
const&, process::Subprocess::IO const&, process::Subprocess::IO const&, \
os::ExecEnv*, Option<std::function<int ()> > const&, int*, int*, \
int*)>::__call<int, , 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, \
9ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul, 3ul, 4ul, \
5ul, 6ul, 7ul, 8ul, 9ul>)<br></pre></div><div><br></div><div><br></div><div>which \
is basically impossible to realize that the error is \
here: </div><div><br></div><div><a \
href="https://github.com/apache/mesos/blob/master/3rdparty/libprocess/src/subprocess.cpp#L177" \
target="_blank">https://github.com/apache/mesos/blob/master/3rdparty/libprocess/src/subprocess.cpp#L177</a><br></div><div><br></div><div>and \
that the source is that the fetcher is \
missing. </div><div><br></div><div>Eventually i diff'ed a working copy of a \
filesystem and found that /usr/local/libexec/mesos was \
missing. </div><div><br></div><div><br></div><div>Technically this isn't an \
error w/ mesos as in if the executables are in place, things will run smoothly. \
However, if part of mesos is not in the environment, then is the consensus to just \
'attempt' to work instead of failing fast. i.e.: failing on startup with a log that \
says? </div><div><br></div><div>mesos-fetcher missing, please check \
/usr/local/libexec/mesos (default) </div><div><br></div><div>Just a \
thought. </div><div><br></div><div><br></div><div><br></div><div><br></div><div>< \
br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature">Best Regards,<br><div>Haosdent Huang</div></div> </div>
</div></blockquote></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic