Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3817

avoid printing stack information for SafeModeException

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 1.2.0, 0.23.7, 2.1.0-beta
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When NN is in safemode, any namespace change request could cause a SafeModeException to be thrown and logged in the server log, which can make the server side log grow very quickly.

      The server side log can be more concise if only the exception and error message will be printed but not the stack trace.

      1. HDFS-3817.patch
        0.9 kB
        Brandon Li
      2. HDFS-3817.branch-1.patch
        0.9 kB
        Brandon Li

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Brandon Li
              Reporter:
              Brandon Li
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development