0
0
Hadoopdata~10 mins

HBase architecture (RegionServer, HMaster) in Hadoop - Step-by-Step Execution

Choose your learning style9 modes available
Concept Flow - HBase architecture (RegionServer, HMaster)
Client Request
HMaster
RegionServer 1
Regions
Data Storage
Client sends requests to HMaster, which manages RegionServers. RegionServers handle data regions and storage.
Execution Sample
Hadoop
Client -> HMaster -> RegionServer -> Region -> Data Storage
Shows the flow of a client request through HBase architecture components.
Execution Table
StepComponentActionResult
1ClientSends read/write requestRequest received by HMaster
2HMasterLocates RegionServer for regionIdentifies RegionServer managing target region
3RegionServerProcesses request on regionReads/writes data in region
4RegionHandles data operationsData updated or retrieved
5RegionServerSends response to clientClient receives requested data or confirmation
6HMasterMonitors RegionServers' healthBalances load and manages failures
7ExitNo more requestsSystem waits for next client request
💡 Execution stops when client has no more requests to process.
Variable Tracker
ComponentInitial StateAfter Step 2After Step 4Final State
ClientIdleRequest sentWaiting for responseReceived response
HMasterIdleLocated RegionServerMonitoring RegionServersIdle
RegionServerIdleReceived requestProcessed dataSent response
RegionData storedReadyData updated/retrievedReady
Key Moments - 3 Insights
Why does the client send the request to HMaster instead of directly to RegionServer?
Because HMaster knows which RegionServer holds the data region needed, as shown in step 2 of the execution_table.
What happens if a RegionServer fails?
HMaster monitors RegionServers (step 6) and will reassign regions to other RegionServers to keep data available.
Does the RegionServer store all data?
No, each RegionServer manages only some regions (parts) of the data, as shown in the concept_flow.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, at which step does the RegionServer process the client request?
AStep 3
BStep 2
CStep 5
DStep 6
💡 Hint
Check the 'Component' and 'Action' columns in execution_table row for step 3.
According to variable_tracker, what is the state of the Client after Step 4?
AIdle
BWaiting for response
CRequest sent
DReceived response
💡 Hint
Look at the Client row under 'After Step 4' in variable_tracker.
If HMaster did not monitor RegionServers, which step in execution_table would be affected?
AStep 2
BStep 4
CStep 6
DStep 5
💡 Hint
Refer to the action described in step 6 of execution_table.
Concept Snapshot
HBase architecture has two main parts:
- HMaster: manages RegionServers, assigns regions, monitors health.
- RegionServer: stores and serves data regions.
Clients send requests to HMaster, which directs them to the right RegionServer.
RegionServers handle data read/write for their regions.
HMaster balances load and handles failures.
Full Transcript
HBase architecture consists of HMaster and RegionServers. Clients send requests to HMaster. HMaster finds which RegionServer holds the needed data region. The RegionServer processes the request by reading or writing data in its region. After processing, the RegionServer sends the response back to the client. HMaster continuously monitors RegionServers to manage load and detect failures. Each RegionServer manages only parts of the data called regions. This setup helps HBase scale and stay reliable.