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

When error occurs in this.parent.close(false) of split, the split region cannot write or read

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.90.4, 0.92.0
    • 0.90.5
    • regionserver
    • None
    • Reviewed

    Description

      Follow below steps to replay the problem:
      1. change the SplitTransaction.java as below,just like mock the hdfs error.

      SplitTransaction.java
            List<StoreFile> hstoreFilesToSplit = this.parent.close(false);
            throw new IOException("some unexpected error in close store files");
         

      2. update the regionserver code,restart;
      3. create a table & put some data to the table;
      4. split the table;
      5. scan the table,then it'll fail.

      We can fix the bug just use the patch.

      Attachments

        1. HBASE-4563-trunk.patch
          2 kB
          bluedavy
        2. HBASE-4563-0.92.patch
          2 kB
          bluedavy
        3. HBASE-4563-0.90.patch
          2 kB
          bluedavy
        4. test-4563-trunk.txt
          31 kB
          bluedavy
        5. test-4563-0.92.txt
          30 kB
          bluedavy
        6. test-4563-0.90.txt
          21 kB
          bluedavy

        Activity

          People

            bluedavy bluedavy
            bluedavy bluedavy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: