Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning Hbase

You're reading from   Learning Hbase Learn the fundamentals of HBase administration and development with the help of real-time scenarios

Arrow left icon
Product type Paperback
Published in Nov 2014
Publisher
ISBN-13 9781783985944
Length 326 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
 Shriparv Shriparv
Author Profile Icon Shriparv
Shriparv
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Learning HBase
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Understanding the HBase Ecosystem FREE CHAPTER 2. Let's Begin with HBase 3. Let's Start Building It 4. Optimizing the HBase/Hadoop Cluster 5. The Storage, Structure Layout, and Data Model of HBase 6. HBase Cluster Maintenance and Troubleshooting 7. Scripting in HBase 8. Coding HBase in Java 9. Advance Coding in Java for HBase 10. HBase Use Cases Index

Installing the Hadoop and MapReduce packages


Let's install Hadoop and other components such as NameNode, DataNode, MapReduce, secondary NameNode, and so on using the yum command available in RHEL distributions:

  1. Install the components using the following commands:

    sudo yum clean all;
    sudo yum install hadoop-hdfs-namenode
    sudo yum install hadoop-hdfs-secondarynamenode
    sudo yum install hadoop-0.20-mapreduce-tasktrackerhadoop-hdfs-datanode
    sudo yum install hbase
    
  2. Verify whether these components installed successfully using the rpm –qa<hadoop/hbase> command:

    You can start and stop the processes using the following commands:

    /usr/lib/hadoop/bin/hadoop-daemon.sh<start/stop><daemon name>
    /usr/lib/hbase/bin/hbase-daemon.sh<start/stop><daemon name>
    
  3. Be careful of the sequence of starting and stopping HBase and Hadoop daemon processes.

    If we use start-all.sh, start-dfs.sh, start-mapred.sh, or start-yarn.sh to start the HBase/Hadoop cluster, it takes care of the sequence of...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images