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

Ensure CP can abort a Server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Implemented
    • None
    • 2.0.0-beta-1, 2.0.0
    • Coprocessors
    • None
    • Hide
      If a procedure throws a non-IOException, e.g. an Error, by default we will abort the hosting server (If hbase.coprocessor.abortonerror is set to false, the non-default, we will not abort -- see HBASE-6873).

      See tests in TestRegionServerCoprocessorExceptionWithAbort that verify this facility works.
      Show
      If a procedure throws a non-IOException, e.g. an Error, by default we will abort the hosting server (If hbase.coprocessor.abortonerror is set to false, the non-default, we will not abort -- see HBASE-6873 ). See tests in TestRegionServerCoprocessorExceptionWithAbort that verify this facility works.

    Description

      We used to allow a CP pull the Server#abort chain. We removed it in the CP refactor. At the end of HBASE-18298, ankit@apache.org describes a case where Phoenix needs to kill Server in extreme case to maintain consistency. This issue is about ensuring that throwing a CPException will indeed kill the running server.... Add a test.

      Attachments

        Activity

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: