Hbase Shell Commands
Hbase Shell Commands
3. To scan the users table and view all rows, you would use:
scan 'users'
HBase table scenarios, each focusing on basic commands like create, put, get, and scan.
Table 1: School
1. Insert the following data for a student with row key stu001:
Table 2: Hospital
1. Insert the following data for a patient with row key pat001:
Table 3: Bank
1. Insert the following data for a customer with row key cust001:
Table 4: E-Commerce
1. Insert the following data for a product with row key prod001:
Product_info: product_name=Laptop, category=Electronics, price=800.
Deliverables:
1. Commands: Provide the create, put, get, and scan commands for each question.
2. Output: Attach screenshots of HBase shell outputs for all commands.
These assignments give students practice with creating tables, inserting values, retrieving data, and
scanning tables, all while working with multiple column families. Let me know if you need additional
variations!