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

Migration to 0.20 looses index information from HTableDescriptor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.0
    • Component/s: None
    • Labels:
      None

      Description

      In 0.19 index info was stored as a private field, and written specially in the Writable impl of HTD. In 0.20 it is stored in the general values map under the key "INDEXES". So migration needs to read in the old HTD format, and store the indexes in the values map. I wrote a quick standalone thing to do this. Can someone point me where to plug this into general migration process?

        Attachments

        1. 1726.patch
          6 kB
          Clint Morgan

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              clint.morgan Clint Morgan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: