[ https://issues.apache.org/jira/browse/YARN-7915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16386110#comment-16386110 ]
Shane Kumpf commented on YARN-7915: ----------------------------------- There are no test changes as this removes a single logging statement. I believe this is ready for review. [~billie.rinaldi] > 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 > Assignee: Shane Kumpf > Priority: Major > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org