[ 
https://issues.apache.org/jira/browse/MESOS-7077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15858775#comment-15858775
 ] 

Benjamin Mahler commented on MESOS-7077:
----------------------------------------

{noformat}
commit 8362e2f7b22bc929fa4ebace304ec533368dc71b
Author: Benjamin Mahler <bmah...@apache.org>
Date:   Tue Feb 7 18:28:57 2017 -0800

    Inject resource allocation info in agent for received tasks.

    Per MESOS-7077, the agent needs to inject allocation info into
    tasks and executors coming from an old master to maintain the
    invariant that all tasks and executors on the agent have an
    allocation info.

    Review: https://reviews.apache.org/r/56422
{noformat}

> Check failed: resource.has_allocation_info().
> ---------------------------------------------
>
>                 Key: MESOS-7077
>                 URL: https://issues.apache.org/jira/browse/MESOS-7077
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: James Peach
>            Assignee: Benjamin Mahler
>            Priority: Blocker
>             Fix For: 1.2.0
>
>
> Seeing this {{CHECK}} fail with top-of-tree master:
> {noformat}
> F0207 16:00:44.657328 3351272 master.cpp:8980] Check failed: 
> resource.has_allocation_info()
> {noformat}
> The symbolicated backtrace is:
> {noformat}
> (gdb) where
> #0  0x00007f009f1315e5 in raise () from /lib64/libc.so.6
> #1  0x00007f009f132dc5 in abort () from /lib64/libc.so.6
> #2  0x00007f00a168e496 in google::DumpStackTraceAndExit () at 
> src/utilities.cc:147
> #3  0x00007f00a1685e7d in google::LogMessage::Fail () at src/logging.cc:1458
> #4  0x00007f00a1687c0d in google::LogMessage::SendToLog (this=Unhandled dwarf 
> expression opcode 0xf3
> ) at src/logging.cc:1412
> #5  0x00007f00a1685a02 in google::LogMessage::Flush (this=0x7f00917ef560) at 
> src/logging.cc:1281
> #6  0x00007f00a16885e9 in google::LogMessageFatal::~LogMessageFatal 
> (this=Unhandled dwarf expression opcode 0xf3
> ) at src/logging.cc:1984
> #7  0x00007f00a0a1184c in mesos::internal::master::Slave::addTask 
> (this=0x7f007c830280, task=0x7f0080835340)
>     at ../../src/master/master.cpp:8980
> #8  0x00007f00a0a18b53 in mesos::internal::master::Slave::Slave 
> (this=0x7f007c830280, _master=Unhandled dwarf expression opcode 0xf3
> )
>     at ../../src/master/master.cpp:8947
> #9  0x00007f00a0a19c57 in mesos::internal::master::Master::_reregisterSlave 
> (this=0x7f00990bf000,
>     slaveInfo=..., pid=..., checkpointedResources=Unhandled dwarf expression 
> opcode 0xf3
> ) at ../../src/master/master.cpp:5759
> #10 0x00007f00a0a1cb22 in operator() (__functor=Unhandled dwarf expression 
> opcode 0xf3
> )
>     at ../../3rdparty/libprocess/include/process/dispatch.hpp:229
> #11 std::_Function_handler<void(process::ProcessBase*), 
> process::dispatch(const process::PID<T>&, void (T::*)(P0, P1, P2, P3, P4, P5, 
> P6, P7, P8, P9), A0, A1, A2, A3, A4, A5, A6, A7, A8, A9) [with T = 
> mesos::internal::master::Master; P0 = const mesos::SlaveInfo&; P1 = const 
> process::UPID&; P2 = const std::vector<mesos::Resource>&; P3 = const 
> std::vector<mesos::ExecutorInfo>&; P4 = const std::vector<mesos::Task>&; P5 = 
> const std::vector<mesos::FrameworkInfo>&; P6 = const 
> std::vector<mesos::internal::Archive_Framework>&; P7 = const 
> std::basic_string<char>&; P8 = const 
> std::vector<mesos::SlaveInfo_Capability>&; P9 = const process::Future<bool>&; 
> A0 = mesos::SlaveInfo; A1 = process::UPID; A2 = std::vector<mesos::Resource>; 
> A3 = std::vector<mesos::ExecutorInfo>; A4 = std::vector<mesos::Task>; A5 = 
> std::vector<mesos::FrameworkInfo>; A6 = 
> std::vector<mesos::internal::Archive_Framework>; A7 = 
> std::basic_string<char>; A8 = std::vector<mesos::SlaveInfo_Capability>; A9 = 
> process::Future<bool>]::<lambda(process::ProcessBase*)> >::_M_invoke(const 
> std::_Any_data &, process::ProcessBase *) (
>     __functor=Unhandled dwarf expression opcode 0xf3
> {noformat}
> I expect that this happened because the master moved to the latest version 
> before all the agents had moved.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to