You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Eric Badger (JIRA)" <ji...@apache.org> on 2018/05/02 22:35:09 UTC

[jira] [Updated] (YARN-7915) Trusted image log message repeated multiple times

     [ https://issues.apache.org/jira/browse/YARN-7915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Badger updated YARN-7915:
------------------------------
    Labels: Docker  (was: )

> 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
>              Labels: Docker
>             Fix For: 3.1.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