Eric Badger created YARN-7915: --------------------------------- Summary: 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
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} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org