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

HBase-799 Created an error in util.migration.v5.HColumnDescriptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.2.0
    • 0.2.1
    • util
    • None

    Description

      The patch for HBASE-799 accidentally introduced an error in org.apache.hadoop.hbase.util.migration.v5.HColumnDescriptor. Line 345 of this file is currently:

      this.name = Bytes.readByteArray(in);

      This should be replaced by the following three lines, which were accidentally replaced by the HBASE-799 patch:

      Text t = new Text();
      t.readFields(in);
      this.name = t.getBytes();

      So, to summarize, line 345 of util.migration.v5.HColumnDescriptor should be replaced by the above 3 lines.

      Attachments

        1. hbase-858.patch
          0.8 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            irubin Izaak Rubin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: