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

reportForDuty to spew less log if master is initializing


    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 1.5.0, 2.2.0, 2.1.1
    • Component/s: regionserver
    • Labels:


      RegionServers do reportForDuty on startup to tell Master they are available. If Master is initializing, and especially on a big cluster when it can take a while particularly if something is amiss, the log every three seconds is annoying and doesn't do anything of use. We should spew less those logs. Here is example:

      2018-09-06 14:01:39,312 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: reportForDuty to master=vc0207.halxg.cloudera.com,22001,1536266763109 with port=22001, startcode=1536266763109
      2018-09-06 14:01:39,312 WARN org.apache.hadoop.hbase.regionserver.HRegionServer: reportForDuty failed; sleeping and then retrying.

      For example, I am looking at a large cluster now that had a backlog of procedure WALs. It is taking a couple of hours recreating the procedure-state because there are millions of procedures outstanding. Meantime, the Master log is just full of the above message – every three seconds...


        1. HBASE-21164.branch-2.1.004.patch
          11 kB
          Mingliang Liu
        2. HBASE-21164.branch-2.1.003.patch
          11 kB
          Mingliang Liu
        3. HBASE-21164.branch-2.1.002.patch
          10 kB
          Mingliang Liu
        4. HBASE-21164.branch-2.1.001.patch
          5 kB
        5. HBASE-21164.branch-1.000.patch
          11 kB
          Mingliang Liu
        6. HBASE-21164.009.patch
          9 kB
          Mingliang Liu
        7. HBASE-21164.008.patch
          9 kB
          Mingliang Liu
        8. HBASE-21164.007.patch
          9 kB
          Mingliang Liu
        9. HBASE-21164.006.patch
          11 kB
          Mingliang Liu
        10. HBASE-21164.005.patch
          12 kB
          Mingliang Liu

          Issue Links



              • Assignee:
                liuml07 Mingliang Liu
                stack stack
              • Votes:
                0 Vote for this issue
                7 Start watching this issue


                • Created: