[
https://issues.apache.org/jira/browse/HBASE-29682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Charles Connell updated HBASE-29682:
------------------------------------
Description:
I argue that in addition to flushing the master region, the
{{flushMasterStore()}} RPC should also roll the WAL files being written by the
HMaster.
In clusters with small numbers of DataNodes (less than 9, in my experience), a
rolling restart of the DataNodes will break WAL writers, in both HMasters and
RegionServers. This can be worked around on RegionServers by calling
{{admin.rollWALWriter()}} on every RegionServer after restarting each DataNode.
Currently, there is no equivalent way to do this to an HMaster. I think the
most elegant solution is to augment {{admin.flushMasterStore()}}.
was:
I argue that in addition to flushing the master region, the flushMasterStore()
RPC should also roll the WAL files being written by the HMaster.
In clusters with small numbers of DataNodes (less than 9, in my experience), a
rolling restart of the DataNodes will break WAL writers, in both HMasters and
RegionServers. This can be worked around on RegionServers by calling
{{admin.rollWALWriter()}} on every RegionServer after restarting each DataNode.
Currently, there is no equivalent way to do this to an HMaster. I think the
most elegant solution is to augment {{admin.flushMasterStore()}}.
> Admin#flushMasterStore() should roll the HMaster WAL
> ----------------------------------------------------
>
> Key: HBASE-29682
> URL: https://issues.apache.org/jira/browse/HBASE-29682
> Project: HBase
> Issue Type: Improvement
> Reporter: Charles Connell
> Assignee: Charles Connell
> Priority: Minor
> Labels: pull-request-available
>
> I argue that in addition to flushing the master region, the
> {{flushMasterStore()}} RPC should also roll the WAL files being written by
> the HMaster.
> In clusters with small numbers of DataNodes (less than 9, in my experience),
> a rolling restart of the DataNodes will break WAL writers, in both HMasters
> and RegionServers. This can be worked around on RegionServers by calling
> {{admin.rollWALWriter()}} on every RegionServer after restarting each
> DataNode. Currently, there is no equivalent way to do this to an HMaster. I
> think the most elegant solution is to augment {{admin.flushMasterStore()}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)