You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/11 20:04:00 UTC

[jira] [Resolved] (HBASE-12437) HLogFactory should be able to accept multiple custom WALReaders in case of failure to read WAL logs due to upgrade/migrate of hbase

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

Andrew Kyle Purtell resolved HBASE-12437.
-----------------------------------------
    Resolution: Invalid

> HLogFactory should be able to accept multiple custom WALReaders in case of failure to read WAL logs due to upgrade/migrate of hbase
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-12437
>                 URL: https://issues.apache.org/jira/browse/HBASE-12437
>             Project: HBase
>          Issue Type: Bug
>          Components: wal
>    Affects Versions: 0.96.0, 0.98.4
>            Reporter: Enoch Hsu
>            Priority: Major
>         Attachments: HBASE_12437.patch
>
>
> The HLogFactory createReader function allows the user to create their own reader and just assumes that the reader will work correctly. 
> The default implementation checks between Protobuf and sequencefiles. However, the custom reader option does not account for any differences in the files. 
> There should be an option or configuration to specify multiple custom readers in the case that an old custom reader was used for sequence files and and a custom reader is being used for protobuf instead of throwing an IPBRE
> The current HLogFactory does not allow me to fall back and handle upgraded file systems similar to the default case.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)