By default, HBase doesn't require you define a database for your data to reside in. Instead, it offers namespaces, which are logical groupings of tables. In this video you look into this concept from a high level.
- [Instructor] Let's see how it is to actually…create these namespaces in HBase.…So first, if you wanted to create a new one…for our employee information, let's call it people.…We would run the command create underscore namespace.…So from the shell, we would just issue this command,…and it would create a new database in relational terms.…From there, if we wanted to create an employees table,…we would issue a similar command, but now we have to…prefix the table name with the namespace.…
Now, there is a default namespace that you…don't need to do this with, but if you wanted…to put them into groupings, which I would recommend…if you're going to be employing HBase…for many of your application's needs,…you would need to prefix it as you can see here.…In this case, we need to create the employees table,…with the two column families, work and demo.…If we wanted to remove our namespace…from our HBase cluster, we would use the…drop underscore namespace command…and give it the name that we'd already created,…as well as we can alter our namespace…
This course can help professionals further their career in big data analytics using HBase and the Hadoop framework. Learn to describe HBase in the context of the NoSQL landscape, build simple architecture models, and explore basic HBase commands. Instructor Ben Sullins shows how all the concepts fit together, resulting in the kind of distributed big data storage you need for scalable, enterprise-level applications.
- What is HBase?
- Who uses HBase?
- Comparing HBase and an RDBMS
- How data is stored in HBase
- Data model operations
- HBase architecture
- Creating tables
- Querying data