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

Serialize WAL as Avro records

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      There was some advocacy of using Avro for serialization of HBase WAL records up on hbase-dev@. Idea is Hadoop core is getting away from Writables and Avro is the blessed replacement.

      I think we have this criteria for its use:
      1) Performance of writing Avro records is no worse than that for writing Writables into a SequenceFile.
      2) Space consumed by Avro serialization is no worse than that of Writables
      3) File format is amenable to appends (cannot require valid trailers, etc.)

      I'll put up a patch so we can try it out.

      Attachments

        1. jackson-core-asl-1.0.1.jar
          133 kB
          Andrew Kyle Purtell
        2. jackson-mapper-asl-1.0.1.jar
          264 kB
          Andrew Kyle Purtell
        3. paranamer-1.5.jar
          28 kB
          Andrew Kyle Purtell
        4. HBASE-2055.patch
          17 kB
          Andrew Kyle Purtell
        5. test-site.patch
          0.9 kB
          Andrew Kyle Purtell
        6. TEST-org.apache.hadoop.hbase.regionserver.wal.TestHLog.txt.gz
          6 kB
          Andrew Kyle Purtell
        7. TEST-org.apache.hadoop.hbase.TestFullLogReconstruction.txt.gz
          782 kB
          Andrew Kyle Purtell
        8. TEST-org.apache.hadoop.hbase.regionserver.wal.TestLogRolling.txt.gz
          13 kB
          Andrew Kyle Purtell
        9. HBASE-2055-v2.patch
          18 kB
          Andrew Kyle Purtell
        10. HBASE-2055-v3.patch
          20 kB
          Andrew Kyle Purtell
        11. HBASE-2055-v4.patch
          22 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              Unassigned Unassigned
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: