Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Question about HBase and region Servers

avatar
Expert Contributor
  1. What's the purpose of Region Server
  2. Where is should be located ? Every datanode ?
  3. What's the purpose of HBase Master
  4. HBase is NoSql database. What does it store ?
1 ACCEPTED SOLUTION

avatar
Master Mentor
@Prakash Punj

What's the purpose of Region Server

In HBase the slaves are called Region Servers. Each Region Server is responsible to serve a set of regions, and one Region (i.e. range of rows) can be served only by one Region Server.

Where is should be located ? Every datanode ?

Yes

What's the purpose of HBase Master

HBase Master coordinates the HBase Cluster and is responsible for administrative operations.

HBase is NoSql database. What does it store ?

HDFS

See this http://www.slideshare.net/xefyr/h-base-for-architectspptx

View solution in original post

5 REPLIES 5

avatar
Master Mentor

Great questions

1.region server stores hbase key regions, ranges of rows, that's where client would go to look up rows.

2. best practice is to colocate each RS with DD for better performance and advantage of short circuit reads

3. Master handles all metadata, DDL operations and region assignments.

4. HBase stores key/value pairs not unlike hashmap data structure. If you do a key lookup you get a value stored by that key.

avatar
Master Mentor

@Prakash Punj

What's the purpose of Region Server? Read this

Where is should be located ? Every datanode ?

You run RegionServers on the same servers as DataNodes. 

What's the purpose of HBase Master?

 HBase provides low-latency random reads and writes on top of HDFS and it’s able to handle petabytes of data. One of the interesting capabilities in HBase is Auto-Sharding, which simply means that tables are dynamically distributed by the system when they become too large.
The HBase Architecture has two main services: HMaster that is responsible for coordinating Regions in the cluster and execute administrative operations; HRegionServer responsible to handle a subset of the table’s data. 

HBase is NoSql database. What does it store ?

HBase is a distributed, nonrelational (columnar) database that utilizes HDFS as its persistence store for data.

Hope that answers you ..

avatar

Best document to read more about these topics: Apache HBase ™ Reference Guide

avatar
Master Mentor
@Prakash Punj

What's the purpose of Region Server

In HBase the slaves are called Region Servers. Each Region Server is responsible to serve a set of regions, and one Region (i.e. range of rows) can be served only by one Region Server.

Where is should be located ? Every datanode ?

Yes

What's the purpose of HBase Master

HBase Master coordinates the HBase Cluster and is responsible for administrative operations.

HBase is NoSql database. What does it store ?

HDFS

See this http://www.slideshare.net/xefyr/h-base-for-architectspptx

avatar
Expert Contributor

Thank you everyone...all great answers..