From yarn-issues-return-139155-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Mon Mar 5 19:02:03 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 64488180608 for ; Mon, 5 Mar 2018 19:02:03 +0100 (CET) Received: (qmail 15124 invoked by uid 500); 5 Mar 2018 18:02:02 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 15113 invoked by uid 99); 5 Mar 2018 18:02:02 -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; Mon, 05 Mar 2018 18:02:02 +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 CD0EFC6404 for ; Mon, 5 Mar 2018 18:02:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 6ChA3HlVcRSY for ; Mon, 5 Mar 2018 18:02:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D6ECB5F23D for ; Mon, 5 Mar 2018 18:02:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6FD08E021F for ; Mon, 5 Mar 2018 18:02:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 221E42126B for ; Mon, 5 Mar 2018 18:02:00 +0000 (UTC) Date: Mon, 5 Mar 2018 18:02:00 +0000 (UTC) From: "Shane Kumpf (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-7915) Trusted image log message repeated multiple times MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-7915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16386441#comment-16386441 ] Shane Kumpf commented on YARN-7915: ----------------------------------- Thanks for the review [~ebadger] and thank you [~billie.rinaldi] for the review/commit! > Trusted image log message repeated multiple times > -------------------------------------------------- > > Key: YARN-7915 > URL: https://issues.apache.org/jira/browse/YARN-7915 > Project: Hadoop YARN > Issue Type: Sub-task > Affects Versions: 3.1.0 > Reporter: Eric Badger > Assignee: Shane Kumpf > Priority: Major > Fix For: 3.2.0 > > Attachments: YARN-7915.001.patch > > > Everytime we call {{check_trusted_image()}} we get a log message saying whether the image is trusted or not. In the case where it is trusted, the log message will get printed once for every call to the function. It's unnecessarily repetitive. I'm not really sure we need the log at all if the image is trusted. Maybe only log if it isn't trusted > {noformat} > Application application_1518201929288_0010 failed 3 times due to AM Container for appattempt_1518201929288_0010_000003 exited with exitCode: 1 > Failing this attempt.Diagnostics: [2018-02-09 20:32:09.391]Exception from container-launch. > Container id: container_1518201929288_0010_03_000001 > Exit code: 1 > Exception message: image: foo/bar is trusted in foo registry. > image: foo/bar is trusted in foo registry. > image: foo/bar is trusted in foo registry. > Docker container exit code was not zero: 1 > Unable to read from docker logs(ferror, feof): 0 1 > Shell output: main : command provided 4 > main : run as user is ebadger > main : requested yarn user is ebadger > Creating script paths... > Creating local dirs... > Getting exit code file... > Changing effective user to root... > Launching docker container... > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org