XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • None

    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

      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...
      

      Attachments

        1. YARN-7915.001.patch
          1 kB
          Shane Kumpf

        Activity

          People

            shanekumpf@gmail.com Shane Kumpf
            ebadger Eric Badger
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: