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

Reading Pre-namespace meta table edits kills the reader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.95.2
    • 0.98.0, 0.96.0
    • migration, wal
    • None
    • Reviewed

    Description

      In upgrading to 0.96, there might be some meta/root table edits. Currently, we are just killing SplitLogWorker thread in case it sees any META, or ROOT waledit, which blocks log splitting/replaying of remaining WALs.

      2013-08-20 15:45:16,998 ERROR regionserver.SplitLogWorker (SplitLogWorker.java:run(210)) - unexpected error 
      java.lang.IllegalArgumentException: .META. no longer exists. The table has been renamed to hbase:meta
              at org.apache.hadoop.hbase.TableName.valueOf(TableName.java:269)
              at org.apache.hadoop.hbase.TableName.valueOf(TableName.java:261)
              at org.apache.hadoop.hbase.regionserver.wal.HLogKey.readFields(HLogKey.java:338)
              at org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1898)
              at org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1938)
              at org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogReader.readNext(SequenceFileLogReader.java:215)
              at org.apache.hadoop.hbase.regionserver.wal.ReaderBase.next(ReaderBase.java:98)
              at org.apache.hadoop.hbase.regionserver.wal.ReaderBase.next(ReaderBase.java:85)
              at org.apache.hadoop.hbase.regionserver.wal.HLogSplitter.getNextLogLine(HLogSplitter.java:582)
              at org.apache.hadoop.hbase.regionserver.wal.HLogSplitter.splitLogFile(HLogSplitter.java:292)
              at org.apache.hadoop.hbase.regionserver.wal.HLogSplitter.splitLogFile(HLogSplitter.java:209)
              at org.apache.hadoop.hbase.regionserver.SplitLogWorker$1.exec(SplitLogWorker.java:138)
              at org.apache.hadoop.hbase.regionserver.SplitLogWorker.grabTask(SplitLogWorker.java:358)
              at org.apache.hadoop.hbase.regionserver.SplitLogWorker.taskLoop(SplitLogWorker.java:245)
              at org.apache.hadoop.hbase.regionserver.SplitLogWorker.run(SplitLogWorker.java:205)
              at java.lang.Thread.run(Thread.java:662)
      2013-08-20 15:45:16,999 INFO  regionserver.SplitLogWorker (SplitLogWorker.java:run(212)) - SplitLogWorker localhost,60020,1377035111898 exiting
      

      Attachments

        1. HBase-9278-v2-rebase.patch
          13 kB
          Himanshu Vashishtha
        2. HBase-9278-v2.patch
          13 kB
          Himanshu Vashishtha
        3. HBase-9278-v1-1.patch
          13 kB
          Himanshu Vashishtha
        4. HBase-9278-v1.patch
          13 kB
          Himanshu Vashishtha
        5. HBase-9278-v0.patch
          7 kB
          Himanshu Vashishtha
        6. 9278v3.txt
          7 kB
          Michael Stack

        Issue Links

          Activity

            People

              v.himanshu Himanshu Vashishtha
              v.himanshu Himanshu Vashishtha
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: