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

Mark the end of individual log in aggregated log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • None

    Description

      Below is snippet of aggregated log showing hbase master log:

      LogType: hbase-hbase-master-ip-172-31-34-167.log
      LogUploadTime: 29-Oct-2014 22:31:55
      LogLength: 24103045
      Log Contents:
      Wed Oct 29 15:43:57 UTC 2014 Starting master on ip-172-31-34-167
      ...
        at org.apache.hadoop.hbase.master.cleaner.CleanerChore.chore(CleanerChore.java:124)
        at org.apache.hadoop.hbase.Chore.run(Chore.java:80)
        at java.lang.Thread.run(Thread.java:745)
      
      LogType: hbase-hbase-master-ip-172-31-34-167.out
      

      Since logs from various daemons are aggregated in one log file, it would be desirable to mark the end of one log before starting with the next.
      e.g. with such a line:

      End of LogType: hbase-hbase-master-ip-172-31-34-167.log
      

      Attachments

        1. YARN-2777.001.patch
          2 kB
          Varun Saxena
        2. YARN-2777.02.patch
          2 kB
          Varun Saxena

        Issue Links

          Activity

            People

              varun_saxena Varun Saxena
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: