Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4122

Cleanup HDFS logs and reduce the size of logged messages

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Incompatible change, Reviewed
    • Hide
      The change from this jira changes the content of some of the log messages. No log message are removed. Only the content of the log messages is changed to reduce the size. If you have a tool that depends on the exact content of the log, please look at the patch and make appropriate updates to the tool.
      Show
      The change from this jira changes the content of some of the log messages. No log message are removed. Only the content of the log messages is changed to reduce the size. If you have a tool that depends on the exact content of the log, please look at the patch and make appropriate updates to the tool.

    Description

      I have attached the patch that removes unnecessary information from the log such as "Namesystem." and prefixing file information with "file" and block information with "block" etc.

      On a branch-1 log I saw it reduce the log size by ~10%.

      Attachments

        1. log.chatty.cleanup.branch1.patch
          84 kB
          Suresh Srinivas
        2. log.chatty.cleanup.branch1.patch
          67 kB
          Suresh Srinivas
        3. log.chatty.cleanup.branch1.patch
          41 kB
          Suresh Srinivas
        4. log.chatty.cleanup.trunk.patch
          56 kB
          Suresh Srinivas
        5. log.chatty.cleanup.trunk.patch
          56 kB
          Suresh Srinivas
        6. log.chatty.cleanup.trunk.patch
          25 kB
          Suresh Srinivas

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sureshms Suresh Srinivas
            sureshms Suresh Srinivas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment