Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Hbase Essentials
  • Toc
  • feedback
Hbase Essentials

Hbase Essentials

By : Garg
3.5 (2)
close
Hbase Essentials

Hbase Essentials

3.5 (2)
By: Garg

Overview of this book

This book is intended for developers and Big Data engineers who want to know all about HBase at a hands-on level. For in-depth understanding, it would be helpful to have a bit of familiarity with HDFS and MapReduce programming concepts with no prior experience with HBase or similar technologies. This book is also for Big Data enthusiasts and database developers who have worked with other NoSQL databases and now want to explore HBase as another futuristic, scalable database solution in the Big Data space.
Table of Contents (9 chapters)
close

REST clients


HBase has a close relationship with Java. In the Java world, REST is a way to interact with objects over the Web. HBase provides the REST service that runs as a separate process and communicates with HBase. This REST service uses the same client API to access HBase.

Getting started

For a REST-based client to make a connection to an HBase cluster, first start the REST server on the HBase Master as follows:

[root@localhost bin]# hbase rest
...
usage: bin/hbase rest start [--infoport <arg>] [-p <arg>] [-ro]
    --infoport <arg>   Port for web UI
 -p,--port <arg>       Port to bind to [default: 8080]
 -ro,--readonly        Respond only to GET HTTP method requests [default:
                       false]

To run the REST server as a daemon, execute the following command:

bin/hbase-daemon.sh start|stop rest [--infoport <port>] [-p <port>] [-ro]

For example, launch the REST service, listening on port 9999 using the following command:

[root@localhost...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete