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

Make the hlog file names unique

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.90.0
    • None
    • None
    • Reviewed

    Description

      Currently the HLog archiving thread adds another timestamp to ensure the file names are "unique". This is ugly and makes it harder to track the HLogs movements from outside (like replication). Instead we could use a UUID as the file name.

      I was discussing with Stack the need of keeping a timestamp in the file name... I think we can't get rid of it since we need to read the HLogs in sequence when splitting.

      Attachments

        1. HBASE-2580.patch
          10 kB
          Jean-Daniel Cryans
        2. HBASE-2580-v2.patch
          10 kB
          Jean-Daniel Cryans
        3. HBASE-2580-v3.patch
          12 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: