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

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

     [ https://issues.apache.org/jira/browse/HBASE-9442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-9442:
-------------------------

    Attachment: 9442.txt
    
> 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
>         Attachments: 9442.txt
>
>
> 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