Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20742

Always create WAL directory for region server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.1.0
    • wal
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HBASE-20742.patch
          6 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: