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 EA9ED200C41 for ; Fri, 24 Mar 2017 14:48:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E8FA0160B93; Fri, 24 Mar 2017 13:48:51 +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 38D79160B82 for ; Fri, 24 Mar 2017 14:48:51 +0100 (CET) Received: (qmail 86946 invoked by uid 500); 24 Mar 2017 13:48:50 -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 86935 invoked by uid 99); 24 Mar 2017 13:48:50 -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; Fri, 24 Mar 2017 13:48:49 +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 91E66C180B for ; Fri, 24 Mar 2017 13:48:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.02 X-Spam-Level: X-Spam-Status: No, score=-4.02 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled 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 OhxYu713e7i0 for ; Fri, 24 Mar 2017 13:48:48 +0000 (UTC) Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id BF75C5F297 for ; Fri, 24 Mar 2017 13:48:47 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.36,215,1486422000"; d="scan'208";a="217927351" Received: from tifenn.irisa.fr (HELO [131.254.17.40]) ([131.254.17.40]) by mail3-relais-sop.national.inria.fr with ESMTP; 24 Mar 2017 14:48:25 +0100 To: dev@mesos.apache.org From: Olivier Sallou Subject: how to get executor command? unified containerizer fails with unknown flag 'command' Message-ID: Date: Fri, 24 Mar 2017 14:48:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable archived-at: Fri, 24 Mar 2017 13:48:52 -0000 Hi, while switching from python protobuf library to HTTP API, I face an issue when starting the container with unified containerizer. With the Docker containerizer, everything is fine, but unified containeriser fails (while it worked nice with the python lib, before my modifications). The only executor log I have is: "Failed to parse the flags: Failed to load unknown flag 'command'" and update status reason "REASON_CONTAINER_LAUNCH_FAILED" In slave logs I only find the following: I0324 13:42:39.487109 29096 linux_launcher.cpp:421] Launching container 61327ae0-5c9b-4d4c-a015-674b7112539a and cloning with namespaces CLONE_NEWNS I0324 13:42:39.507308 29096 systemd.cpp:96] Assigned child process '8256' to 'mesos_executors.slice' I0324 13:42:39.558537 29102 containerizer.cpp:2313] Container 61327ae0-5c9b-4d4c-a015-674b7112539a has exited It may be related to my json task definition, but I do not see what mesos is trying to execute, and what this "command" flag is and why it is present. Is there a way for Mesos to add additional logs to display the executor command ? In my task_infos, I define a container of type MESOS and a command with a value. Should be the same than Docker containerizer, only difference is in container that has a mesos parameter instead of a docker parameter.= Thanks Olivier --=20 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint =3D 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438