You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2018/06/18 03:32:00 UTC

[jira] [Commented] (HBASE-20742) Always create WAL directory for region server

    [ https://issues.apache.org/jira/browse/HBASE-20742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515320#comment-16515320 ] 

Anoop Sam John commented on HBASE-20742:
----------------------------------------

So in case of any kind of WAL kinda impl, we need to create the dir?  And now this is under the FS for wal.  (Specified using a config).  There is proposal for new non HDFS way of WAL impl (Using Ratis I think) and WALLess..  May be we should have an WAL based interface point in HM side and ask it for the servers..  It might list servers reading the WAL dirs for the RSs or some other means.

> Always create WAL directory for region server
> ---------------------------------------------
>
>                 Key: HBASE-20742
>                 URL: https://issues.apache.org/jira/browse/HBASE-20742
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Duo Zhang
>            Priority: Major
>
> After HBASE-20708, when master restart, we will scan the wal directory to find out the live servers. In most cases this is OK, as when we create a HRegion instance at RS side, we will create a WAL for it, and the directory which contains the server name will be there, even if user always use SKIP_WAL.
> But there could still be problem as the directory is created in the implementation of WAL, not in the initialization of region server, so if user uses DisabledWALProvider then we will be in trouble.
> So let's fix it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)