Before you can execute code in HBase you need to see how to log into it. Walk through logging into HBase from the command line. On Windows you'll want to use a third-party tool like PuTTY to execute these commands.
- [Instructor] Now let's log in to Hbase…and just explore a little bit.…I have my terminal window up here…and I'm going to maximize this so it's easier for you to see…when you're watching this online.…First, I want to log into my server using ssh like before,…so ssh, root is my username, 127.0.0.1, -p 2222 as my port,…give it the password that I set up earlier,…and I'm good to go, I'm logged in now.…So, I want to switch over to my HBase user,…so that way, I'm not executing things as root,…any admin would probably be cringing at the fact…that we're even logging in as root,…but, for our purposes, it's fine.…
I'm going to do su and hbase to switch over to my HBase user.…Now, you can see my prompt change,…and I want to just launch the shell…and then run some basic commands here,…so I'll go ahead and clear my output…so I have more real estate on the screen,…and I'm going to type hbase shell.…Once that's up and running,…I now have a different command prompt,…and this is where I can actually execute shell commands,…if you recall, there were all these different commands…
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