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

TableBackupProcedure ctor should set procedure owner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Reviewed

    Description

      I was trying to abort a procedure which led to master shutdown.
      Toward tail of the master log, I saw:

      2016-08-29 20:25:26,180 ERROR [B.fifo.QRpcServer.handler=16,queue=1,port=20000] coprocessor.CoprocessorHost: The coprocessor org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor threw    java.lang.NullPointerException
      java.lang.NullPointerException
              at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.isProcedureOwner(ProcedureExecutor.java:653)
              at org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor.preAbortProcedure(RangerAuthorizationCoprocessor.java:835)
              at org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor.preAbortProcedure(RangerAuthorizationCoprocessor.java:3107)
              at org.apache.hadoop.hbase.master.MasterCoprocessorHost$47.call(MasterCoprocessorHost.java:601)
              at org.apache.hadoop.hbase.master.MasterCoprocessorHost.execOperation(MasterCoprocessorHost.java:1146)
              at org.apache.hadoop.hbase.master.MasterCoprocessorHost.preAbortProcedure(MasterCoprocessorHost.java:597)
              at org.apache.hadoop.hbase.master.HMaster.abortProcedure(HMaster.java:2654)
              at org.apache.hadoop.hbase.master.MasterRpcServices.abortProcedure(MasterRpcServices.java:1070)
              at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:57274)
              at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2127)
      

      Under /procedures.jsp (after restart), the procedure I tried to abort had null as Owner.

      Attachments

        1. 16520.HBASE-7912.v2.txt
          3 kB
          Ted Yu
        2. 16520.HBASE-7912.v3.txt
          4 kB
          Ted Yu
        3. 16520.v1.txt
          1 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: