Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5238

Add a log4j category for all edits to META/ROOT

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • regionserver

    Description

      Occasionally we run into bugs that have corrected META and written some bad data to META/ROOT but it's difficult to understand the order in which things happened. One option is to dump the HLog contents from the servers that hosted META at that time, but then it's interspersed with all other data. It would be nice to add a Log4j Logger to which we log all edits being applied to META and ROOT in textual form at DEBUG level. Then it would be easier to do a cluster-wide log grep to see what happened when.

      Attachments

        1. HBASE-5238.v2.patch
          4 kB
          Andrey Stepachev
        2. HBASE-5238.patch
          4 kB
          Michael Stack
        3. meta2.log
          6 kB
          Andrey Stepachev
        4. HBASE-5238.patch
          4 kB
          Andrey Stepachev

        Issue Links

          Activity

            People

              octo47 Andrey Stepachev
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: