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

Master coprocessor RPCs don't propagate exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.95.2
    • 0.95.0
    • Protobufs
    • None
    • Reviewed

    Description

      I was working on some coprocessor tests, and was wondering why exceptions weren't bubbling up while calling checkFailed on my RpcController.

      Turns out, that HMaster's execMasterService seems to be sending the wrong RpcController (that happens to be null in my case) to the methods.

      I have a fix that appears to work, but I am not familiar enough with the code to know that it's the write one.

      Version I am working on has the git sha 9a322b0

      Attachments

        1. fix-hmaster-rpc-exceptions.patch
          0.8 kB
          Mike Lewis
        2. fix-hmaster-rpc-exceptions-2.patch
          5 kB
          Mike Lewis

        Activity

          People

            mikelikespie Mike Lewis
            mikelikespie Mike Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: