hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Badger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-7915) Trusted image log message repeated multiple times
Date Fri, 09 Feb 2018 20:46:00 GMT

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

Eric Badger updated YARN-7915:
------------------------------
    Description: 
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}

  was:
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: docker-registry.ops.yahoo.com:4443/hadoop/docker_configs is trusted
in docker-registry.ops.yahoo.com:4443 registry.
image: docker-registry.ops.yahoo.com:4443/hadoop/docker_configs is trusted in docker-registry.ops.yahoo.com:4443
registry.
image: docker-registry.ops.yahoo.com:4443/hadoop/docker_configs is trusted in docker-registry.ops.yahoo.com:4443
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}


> 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
>            Reporter: Eric Badger
>            Priority: Major
>
> 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


Mime
View raw message