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

HLogKey(walKey) constructor needs to be either removed, deprecated or fixed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.96.0
    • 0.98.0, 0.96.0
    • None
    • None
    • Reviewed

    Description

      It is currently impossible to use HLogKey(walKey) because of the NPE that occurs due to constructor itself not initializing clusterIds but instead immediately calling readFieldsFromPb which then references it:
      https://github.com/apache/hbase/blob/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogKey.java#L475

      Attachments

        1. 9442.txt
          0.8 kB
          Michael Stack
        2. 9442.txt
          0.8 kB
          Michael Stack
        3. 9442v2.txt
          0.6 kB
          Michael Stack

        Activity

          People

            rvs Roman Shaposhnik
            rvs Roman Shaposhnik
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: