BigData Challenge - L2 (HBase)
BigData Challenge - L2 (HBase)
Problem Statement
Create a HBase table with name 'personal'.
Example: $ hbase shell
hbase(main):031:0> create 'personal','personal_data'
Add entries in the HBase table using put command.
Example: $ hbase shell
hbase(main):037:0> put 'personal',1 ,'personal_data:name','Ram'
Troubleshoot and resolve any issue faced when creating the table in HBase.
Instructions
● As a prerequisite, create the EC2 Key pair by following the steps in below documentation.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#having-ec2-create-your-key-pair
● Navigate to the CloudFormation console - https://console.aws.amazon.com/cloudformation/home?region=us-east-
1 and choose us-east-1 region.
● Click on “Create stack” and select “With new resources(standard) option”
●
● Then click on Next.
● Specify the stack name as “Hackathon-Lab3”. Under Parameters → KeyName option, please select the keypair
created in first step and click on Next.
●
● Once the stack is provisioned, Navigate to the output section to fetch the EMR master node public hostname
(“EMRPublicDNSMaster”).
● SSH into the master node by using the keypair specified in the CFN.
example : ssh -i test.pem [email protected].
● You may now create a HBase table with name 'personal'.
● After creating the table add entries in the HBase table using put command.
● Troubleshoot and resolve any issue faced when creating the table in HBase.
Submissions
● General Info
-Your Name
-Email ID
-AWS Account ID
● Resource Info
- EMR cluster ID from the CloudFormation output.
- Screenshot of the HBase describe command for the table ‘personal’ .
- Also Share the screenshot of content present in the HBase table via Scan command.
Documentation Links