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

Old WALs archive fails in procedure based WAL split

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1, 2.4.0, 2.2.6, 2.3.2
    • Fix Version/s: 3.0.0-alpha-1, 2.2.7, 2.3.4, 2.5.0, 2.4.1
    • Component/s: wal
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If 'hbase.wal.dir' and 'hbase.rootdir' are configured to different filesystem, SplitWALRemoteProcedure archived split WAL failed since SplitWALManager using wrong fs instance. SplitWALManager should use WAL corresponding fs instance.

      Steps to Reproduce:

      • Configure 'hbase.wal.dir' and 'hbase.rootdir' so that they point to different fs instances.
      • Start HBase with multiple RS. 
      • Create a couple of tables and some rows in them so that the RSs get assigned with some regions. 
      • Take any RS with non-zero number of regions offline. 
      • Check master logs for "Wrong FS" error as shown in the screenshot attached. 

       

        Attachments

        1. ServerCrashWrongFSError.png
          324 kB
          Anjan Das

        Issue Links

          Activity

            People

            • Assignee:
              dasanjan1296 Anjan Das
              Reporter:
              mokai87 mokai

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment