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

Master NPE during completed failed proc eviction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0, 1.3.1
    • 1.3.2, 1.4.1, 2.0.0
    • None
    • None
    • Reviewed

    Description

      When procedures like Create table fails due to say AccessDeniedException, then a rollback procedure is created. When the rollback is being cleaned up, it results in an NPE because those nonce procs aren't persisted

      Stack trace when this happens:

      java.lang.NullPointerException
              at org.apache.hadoop.hbase.procedure2.store.ProcedureStoreTracker.delete(ProcedureStoreTracker.java:385)
              at org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.updateStoreTracker(WALProcedureStore.java:547)
              at org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.pushData(WALProcedureStore.java:504)
              at org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.delete(WALProcedureStore.java:453)
              at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$CompletedProcedureCleaner.periodicExecute(ProcedureExecutor.java:184)
              at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.timeoutLoop(ProcedureExecutor.java:995)
              at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$500(ProcedureExecutor.java:78)
              at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$3.run(ProcedureExecutor.java:507)
      

      Attachments

        1. HBASE-19756.branch-1.4.001.patch
          6 kB
          Thiruvel Thirumoolan
        2. HBASE-19756.branch-1.4.002.patch
          6 kB
          Thiruvel Thirumoolan
        3. HBASE-19756.branch-1.4.003.patch
          6 kB
          Thiruvel Thirumoolan
        4. HBASE-19756.master.001.patch
          7 kB
          Thiruvel Thirumoolan

        Issue Links

          Activity

            People

              thiruvel Thiruvel Thirumoolan
              thiruvel Thiruvel Thirumoolan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: