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

Tags presence file info can be wrong in HFiles when PrefixTree encoding is used

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.98.0
    • Fix Version/s: 0.98.0, 0.99.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We always encode tags in case of Prefix tree now and so the code path, while decoding, not checking what is there in FileInfo. So functionally no issues now.
      If we do HBASE-10453 this change will be very important to make sure BC for old files.

      We use the file info MAX_TAGS_LEN to know the presence of tags in a file. In case of prefix tree we always have tags in files even if all kvs have 0 tags. So better we can add this file info into prefix tree encoded HFiles. Now it get missed.

        Attachments

        1. HBASE-10454_V2.patch
          1 kB
          Anoop Sam John
        2. HBASE-10454.patch
          1 kB
          Anoop Sam John

          Activity

            People

            • Assignee:
              anoop.hbase Anoop Sam John
              Reporter:
              anoop.hbase Anoop Sam John
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: