Site icon DataFlair

HBase Operations: Read and Write Operations

HBase operations

HBase Operations: Read and Write Operations

Today, in this HBase article “HBase Operations: Read and Write” we will learn the whole concept of HBase. There are two basic Operations of HBase i.e. HBase read and HBase write.

Moreover, in this HBase tutorial, we will see some major components of HBase Operations such as HFile, META table.

So let’s start HBase Operations.

HBase Operations: Read and Write

Basically, in both data read and write operation of HBase, there are two major components which play a vital role in it, like HFile and META Table, so let’s study about both in detail:

i. HFile

A basic level HBase architecture where the tables exist in physical form is what we call HFile.
Some key points in HFile:

Moreover, HRegion Server controls integrating HFile component to have HRegion.

ii. META Table

META Table is one of the major components of HBase Operations.

HBase Read operation needs to know which HRegion server has to be accessed for reading actual data, so, we use META Table in Read operation of HBase.

Moreover, the META Table will have the updated data because, after every Write process, this table is updated for the next Read.

Technology is evolving rapidly!
Stay updated with DataFlair on WhatsApp!!

Key: Region start key, Region id
Values: RegionServer

HBase Write Path

These following steps occur in HBase Operations, while the client gives a command to Write:

HBase Read Path

As a client sends a request to HBase, read process starts. A request is sent to zookeeper which keeps all the status of the distributed system, where HBase is also present. 

So, this was all about HBase Operations. Hope you like our explanation.

Conclusion

Hence, in this HBase Operations tutorial, we have seen how HBase performs Read and Write operations internally. Moreover, we also discussed 2 major components of HBase, these are HFile and META Table in operation of HBase. However, if any doubt occurs, feel free to ask in the comment tab.

Exit mobile version