[
https://issues.apache.org/jira/browse/HBASE-9442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13759207#comment-13759207
]
Jean-Daniel Cryans commented on HBASE-9442:
-------------------------------------------
My IDE shows that the only method using it is
ReplicationProtbufUtil.toHLogEntries, which in turn isn't used, so we should
remove both.
> 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, 9442.txt, 9442v2.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