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

ZKProcedureCoordinatorRpcs should respond only to members

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.99.0, 0.94.20, 0.98.3
    • 0.99.0, 0.94.21, 0.98.4
    • None
    • None

    Description

      ZKProcedureCoordinatorRpcs nodeCreated() responds to events of every znode under the procedure and not only members.

      INFO: Received created event: /hbase/<proc>/reached/<instance>
      INFO: Received created event: /hbase/<proc>/reached/<instance>/<member>
      

      the result is a warning (no other side effects)

      WARN [main-EventThread] procedure.ProcedureCoordinator: Member '<instance>' is trying to release an unknown procedure 'reached
      

      apurtell posted in HBASE-10926 the steps to reproduce it:

      $ cd ./src/hbase
      $ git checkout master
      $ mvn -DskipTests clean install
      

      In one console:

      $ ./bin/hbase master start
      

      In another console:

      $ ./bin/hbase org.apache.hadoop.hbase.util.LoadTestTool -num_keys 100000 \
          -read 10:100 -write 1:100:10
      

      In a third console:

      $ ./bin/hbase shell
      hbase> while true do ; flush 'cluster_test' ; sleep 10 ; end
      

      Attachments

        1. HBASE-11341-v0.patch
          2 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: