• Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.20.0
    • Component/s: master, regionserver
    • Labels:


      Currently, if a region server crashes and then restarts, it cannot be given work until its lease times out. This is because a lease is only identified by ipaddress:portnumber. If leases were also identified with the start code, the server could be given work immediately, because its log file includes the start code and will not interfere with the recovery of the log from its previous incarnation.

      Additionally, we wait in a master server thread for the server to leave the dead servers list because dead servers are not identified by their start code either. Waiting in a master server thread ties up that thread (possibly for quite some time), and rather than waiting, we should throw an exception as the region server already knows how to deal with an exception thrown from a regionServerStartup call.

      Finally, there is a bit of code cleanup that needs to be done in the region server when it receives a MSG_CALL_SERVER_STARTUP response from the master. It should not set up the HLog until reportForDuty completes
      successfully (which is what it does on the initial reportForDuty call.

        Issue Links


          Jim Kellerman created issue -
          Jim Kellerman made changes -
          Field Original Value New Value
          Link This issue relates to HBASE-1158 [ HBASE-1158 ]
          Jim Kellerman made changes -
          Link This issue is related to HBASE-1157 [ HBASE-1157 ]
          Jim Kellerman made changes -
          Link This issue blocks HBASE-1144 [ HBASE-1144 ]
          Jim Kellerman made changes -
          Parent HBASE-1157 [ 12413344 ]
          Issue Type Improvement [ 4 ] Sub-task [ 7 ]
          Jim Kellerman made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Jim Kellerman made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          stack made changes -
          Status Resolved [ 5 ] Closed [ 6 ]


            • Assignee:
              Jim Kellerman
              Jim Kellerman
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: