You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2017/05/17 00:41:04 UTC
[jira] [Commented] (MESOS-7115) Agent should prefer LOG(FATAL) over
EXIT().
[ https://issues.apache.org/jira/browse/MESOS-7115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16013315#comment-16013315 ]
Yan Xu commented on MESOS-7115:
-------------------------------
{noformat:title=}
commit 342aab64c60d8118468d17974ee0b863d341b1cb
Author: James Peach <jp...@apache.org>
Date: Fri May 12 14:09:25 2017 -0700
Use the EXIT() macro more consistently in agent startup.
Review: https://reviews.apache.org/r/56680/
commit fff43d202f23a26fd2c73b83989f3c03223f128b
Author: James Peach <jp...@apache.org>
Date: Tue May 16 17:36:24 2017 -0700
Use glog to log EXIT() messages.
Review: https://reviews.apache.org/r/56681/
{noformat}
> Agent should prefer LOG(FATAL) over EXIT().
> -------------------------------------------
>
> Key: MESOS-7115
> URL: https://issues.apache.org/jira/browse/MESOS-7115
> Project: Mesos
> Issue Type: Bug
> Components: agent
> Reporter: James Peach
> Assignee: James Peach
> Priority: Minor
>
> I saw the agent exit with an auth failure:
> {noformat}
> I0210 14:16:49.731459 9503 authenticatee.cpp:259] Received SASL authentication step
> Master master@17.174.144.199:5050 refused authentication
> {noformat}
> Note the lack of log metadata on the exit message. This message (from {{slave.cpp}} and a number of others in the same file should all use {{LOG(FATAL)}} so that log aggregation can pick up the timestamp, error severity, etc.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)