Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7607

Remove the trailing duplicated timestamp in container diagnostics message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.9.0
    • 3.0.0, 2.10.0, 2.9.1
    • nodemanager

    Description

      There are some container diagnostic messages currently malformed, like below

      ###
      017-12-05 11:43:21,319 INFO mapreduce.Job: map 28% reduce 0%
      2017-12-05 11:43:22,345 INFO mapreduce.Job: Task Id : attempt_1512384455800_0003_m_000012_0, Status : FAILED
      [2017-12-05 11:43:21.265]Container Killed to make room for Guaranteed Container[2017-12-05 11:43:21.265]
      [2017-12-05 11:43:21.265]Container is killed before being launched.
      ###

      such logs are presented both in console and RM UI, we need to remove the duplicated trailing timestamp from the log message. This is due to the mis-use of addDiagnostics function in these places.

      Attachments

        1. YARN-7607.001.patch
          5 kB
          Weiwei Yang

        Issue Links

          Activity

            People

              cheersyang Weiwei Yang
              cheersyang Weiwei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: