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

Always create WAL directory for region server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.1.0
    • Component/s: wal
    • Labels:
      None
    • Hadoop Flags:
      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

              • Assignee:
                Apache9 Duo Zhang
                Reporter:
                Apache9 Duo Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: