Creates a RegionServerThread. Call 'start' on the returned thread to make it
Creates a MasterThread. Call 'start' on the returned thread to make it run.
Start the cluster. Waits until there is a primary master initialized and returns
Utility method to wait some time for an event to occur, and then return control
to the caller.