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

tautology in HRegionInfo.readFields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.92.0
    • None
    • None
    • Reviewed

    Description

      In HRegionInfo.readFields() the following looks wrong to me

      } else if (getVersion() == VERSION)

      { it is always true. Should it have been }

      else if (getVersion() == version) {

      version is a local variable where the deserialized-version is stored.

      (I am struggling with another issue where after applying some patches - including "HBASE-4388 Second start after migration from 90 to trunk crashes" my version of hbase-92 HRegionInfo.readFields() tries to find HTD in HRegionInfo and fails)

      Attachments

        Activity

          People

            khemani Prakash Khemani
            khemani Prakash Khemani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: