Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13301

Millisecond timestamp for FsShell console log and MapReduce jobsummary log

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      The time format of console logger and MapReduce job summary logger is ISO8601 by default to print milliseconds.

      Description

      The log message timestamp on FsShell console show only seconds.

      $ export HADOOP_ROOT_LOGGER=TRACE,console
      $ hdfs dfs -rm -skipTrash /tmp/2G*
      16/06/20 16:00:03 DEBUG util.Shell: setsid exited with exit code 0
      

      Would like to see milliseconds for quick performance turning.

      2016-06-20 16:01:42,588 DEBUG util.Shell: setsid exited with exit code 0
      

        Attachments

        1. HADOOP-13301.001.patch
          2 kB
          John Zhuge

          Activity

            People

            • Assignee:
              jzhuge John Zhuge
              Reporter:
              jzhuge John Zhuge
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: