Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12500

Ozone: add logger for oz shell commands and move error stack traces to DEBUG level

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • HDFS-7240
    • ozone
    • None
    • Reviewed

    Description

      Per discussion in HDFS-12489 to reduce the verbosity of logs when exception happens, lets add logger to Shell.java and move error stack traces to DEBUG level.

      And to track the execution time of oz commands, when logger is added, lets add a debug log to print the total time a command execution spent.

      Attachments

        Activity

          People

            linyiqun Yiqun Lin
            cheersyang Weiwei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: