You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2013/09/05 07:32:52 UTC

[jira] [Created] (HBASE-9442) HLogKey(walKey) constructor needs to be either removed, deprecated or fixed

Roman Shaposhnik created HBASE-9442:
---------------------------------------

             Summary: HLogKey(walKey) constructor needs to be either removed, deprecated or fixed
                 Key: HBASE-9442
                 URL: https://issues.apache.org/jira/browse/HBASE-9442
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.96.0
            Reporter: Roman Shaposhnik


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira