0% found this document useful (0 votes)
30 views3 pages

BigData Challenge - L2 (HBase)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views3 pages

BigData Challenge - L2 (HBase)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

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.

Deployed Resource Names (AWS Region: us-east-1)

● EMR cluster - EMR_Hackathon_Scenario3

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”

● Use “BigData_L3.json“ template provided in the BigData-Lab.zip file.


● Choose “Template is ready option” and Upload the above template from your local filesystem.


● 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.

● Step 3 : Configure stack options page, click Next.


● Step 4 : Review page, click acknowledge and select “Create stack”.


● 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.

After collating the above information , send an email to [email protected]

Documentation Links

● What is a EC2 keypair? - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#having-ec2-


create-your-key-pair
● What is AWS EMR ? - https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-what-is-emr.html
● HBase table create/put/describe command usage? - https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-
hbase-connect.html

You might also like