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

Millisecond timestamp for FsShell console log and MapReduce jobsummary log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 3.0.0-alpha1
    • None
    • None
    • Incompatible change, Reviewed
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: