Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D1CFE200CAD for ; Tue, 6 Jun 2017 04:13:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D04D7160BD4; Tue, 6 Jun 2017 02:13:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2148E160BE1 for ; Tue, 6 Jun 2017 04:13:52 +0200 (CEST) Received: (qmail 70766 invoked by uid 500); 6 Jun 2017 02:13:51 -0000 Mailing-List: contact dev-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list dev@mesos.apache.org Received: (qmail 69830 invoked by uid 99); 6 Jun 2017 02:13:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2017 02:13:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0E6F4C16A3; Tue, 6 Jun 2017 02:13:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id dy_ZL2tlKamZ; Tue, 6 Jun 2017 02:13:48 +0000 (UTC) Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C6D385F24C; Tue, 6 Jun 2017 02:13:47 +0000 (UTC) Received: by mail-it0-f42.google.com with SMTP id r63so96541766itc.1; Mon, 05 Jun 2017 19:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=f0/CmUunzC1ELZIFLfy7WHWSDq2Yg+m2Rl6C08v1byY=; b=ETwVlqBU2Qjs6iOBG6TE1QNJvlHqDUIjvHmj9Cfwfskyn2zmo/5hwCoq+VHudFQdai PGyJdZDdVrB5KzW013Jpo8Munv7dayJZmXlUbJXpv28HnuCIhYXBu+Pr3V+z+PTtfjSN VD1Y9CHvufjiL6iSJOQtTYM4DnwiMsVY3ATZKzf/Z8waPkRG0+10plOtg+qpJQuqcPMk zkJa5QTQNDNlRyw6vHxdb1AZhEo05p4j3oBIvkHb+qg3vZBAoS5jCsETjLgE2vzphKHc OqsOjSXH0MGeH7S4hp63HR34W/s7yNn9ls7Ef8WbZxtg3WPY8UnXgZu5Jp8svp/vkCQK Ivmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=f0/CmUunzC1ELZIFLfy7WHWSDq2Yg+m2Rl6C08v1byY=; b=kzOQFGbBLVKXlel8DSwx50tghrzslA5vw5WItjSHnkl2zNX0g5W0E5Sry8MRYA+jqa pm468/kP5vFj6QPEkOvH5GgijTnScNPE1q8HrlHXFR74gpEiPQ6L/YAmadS9vjLaza1s 39ib3m9/4YhNQ8FQNu5/VwHTfYa/9CxvjdtlVtsk8Xjxrej0AdW9ab7RBkDADFnvZAjl 3NupYTCYAdbcE/XFjsFTI9vWGKOq60EmGL28Obv1oa77P9LrP7Nt2/SKCg+F6FmpHXRU 0K6URnopk5i+oEMA7nas0JsvB5Ip6mv/qaVo0FE5/eCwapGRMUJ5ZSIKjp2K9rpsSvqX XHPA== X-Gm-Message-State: AKS2vOxQAz9/Yna5dZxSpYdFbZIFd9I/6NzTyQQ72lKZmXreER4+KrLm 0wj7/ow+lGxcak4tL+HQsc9O1e6rfw== X-Received: by 10.107.3.106 with SMTP id 103mr10840149iod.82.1496715226465; Mon, 05 Jun 2017 19:13:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.53.152 with HTTP; Mon, 5 Jun 2017 19:13:45 -0700 (PDT) In-Reply-To: References: From: "Chawla,Sumit " Date: Mon, 5 Jun 2017 19:13:45 -0700 Message-ID: Subject: Re: Mesos Executor Failing To: user@mesos.apache.org Cc: Dev Content-Type: multipart/alternative; boundary="001a113f8e3067597b0551412b72" archived-at: Tue, 06 Jun 2017 02:13:54 -0000 --001a113f8e3067597b0551412b72 Content-Type: text/plain; charset="UTF-8" Hi Joseph The error code is being reported as 0, and there is not much else in the logs. Regards Sumit Chawla On Wed, May 24, 2017 at 12:21 AM, Joseph Wu wrote: > There isn't a tool for this. Can you check if the Mesos agent is being > restarted (or crashing) when you launch a task? And perhaps upload some > logs around the time of the task launch. > > There is a mismatch between the exit codes you've reported though. When > you see that log line in the sandbox logs, the exit code will be "1" > (failure), rather than "0" (success). > > On Mon, May 22, 2017 at 9:30 PM, Chawla,Sumit > wrote: > >> Hi Joseph >> >> I am using 0.27.0. Is there any diagnosis tool or command line that i >> can run to ascertain that why its happening? >> >> Regards >> Sumit Chawla >> >> >> On Fri, May 19, 2017 at 2:31 PM, Joseph Wu wrote: >> >>> What version of Mesos are you using? (Just based on the word "slave" in >>> that error message, I'm guessing 0.28 or older.) >>> >>> The "Failed to synchronize" error is something that can occur while the >>> agent is launching the executor. During the launch, the agent will create >>> a pipe to the executor subprocess; and the executor makes a blocking read >>> on this pipe. The agent will write a value to the pipe to signal the >>> executor to proceed. If the agent restarts or the pipe breaks at this >>> point in the launch, then you'll see this error message. >>> >>> On Thu, May 18, 2017 at 9:44 PM, Chawla,Sumit >>> wrote: >>> >>>> Hi >>>> >>>> I am facing a peculiar issue on one of the slave nodes of our cluster. >>>> I have a spark cluster with 40+ nodes. On one of the nodes, all tasks fail >>>> with exit code 0. >>>> >>>> ExecutorLostFailure (executor e6745c67-32e8-41ad-b6eb-8fa4d2539da7-S76 >>>> exited caused by one of the running tasks) Reason: Unknown executor >>>> exit code (0) >>>> >>>> >>>> I cannot seem to find anything in mesos-slave.logs, and there is >>>> nothing being written to stdout/stderr. Are there any debugging utitlities >>>> that i can use to debug what can be getting wrong on that particular slave? >>>> >>>> >>>> I tried running following but got stuck at: >>>> >>>> >>>> /mesos-containerizer launch --command='{"environment":{},"shell":true,"value":"ls >>>> -ltr"}' --directory=/var/tmp/mesos/slaves/e6745c67-32e8-41ad-b6eb-8f >>>> a4d2539da7-S77/frameworks/e6745c67-32e8-41ad-b6eb-8fa4d2539d >>>> a7-0312/executors/e6745c67-32e8-41ad-b6eb-8fa4d2539da7-S77/ >>>> runs/45aa784c-f485-46a6-aeb8-997e82b80c4f --help=false --pipe_read=0 >>>> --pipe_write=0 --user=smi >>>> >>>> Failed to synchronize with slave (it's probably exited) >>>> >>>> >>>> Would apprecite pointing to any debugging methods/documentation to >>>> diagnose these kind of problems. >>>> >>>> Regards >>>> Sumit Chawla >>>> >>>> >>> >> > --001a113f8e3067597b0551412b72--