Reader small image

You're reading from  HBase Essentials

Product typeBook
Published inNov 2014
Reading LevelIntermediate
Publisher
ISBN-139781783987245
Edition1st Edition
Languages
Tools
Concepts
Right arrow
Author (1)
Nishant Garg
Nishant Garg
author image
Nishant Garg

Nishant Garg has over 17 years' software architecture and development experience in various technologies, such as Java Enterprise Edition, SOA, Spring, Hadoop, Hive, Flume, Sqoop, Oozie, Spark, Shark, YARN, Impala, Kafka, Storm, Solr/Lucene, NoSQL databases (such as HBase, Cassandra, and MongoDB), and MPP databases (such as GreenPlum). He received his MS in software systems from the Birla Institute of Technology and Science, Pilani, India, and is currently working as a technical architect for the Big Data RandD Group with Impetus Infotech Pvt. Ltd. Previously, Nishant has enjoyed working with some of the most recognizable names in IT services and financial industries, employing full software life cycle methodologies such as Agile and SCRUM. Nishant has also undertaken many speaking engagements on big data technologies and is also the author of Apache Kafka and HBase Essentials, Packt Publishing.
Read more about Nishant Garg

Right arrow

The Thrift client


The Apache Thrift software framework is used for cross-language services development. It is bundled with a code generation engine to build services that work seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, JavaScript, Node.js, Smalltalk, OCaml, Delphi, and other languages.

Tip

Get started with the Apache Thrift installation and working example at https://thrift.apache.org/.

After the Thrift compiler is installed, create a thrift file. This file is an interface definition (ID) made up of Thrift types and services. The services defined in the ID file are implemented by the server and are called by any clients. The Thrift compiler is used to convert the thrift File into source code which is used by the different client libraries and the server.

Getting started

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

[root@localhost bin]# hbase thrift
usage: Thrift [-b <arg>] [-c] [-f] ...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
HBase Essentials
Published in: Nov 2014Publisher: ISBN-13: 9781783987245

Author (1)

author image
Nishant Garg

Nishant Garg has over 17 years' software architecture and development experience in various technologies, such as Java Enterprise Edition, SOA, Spring, Hadoop, Hive, Flume, Sqoop, Oozie, Spark, Shark, YARN, Impala, Kafka, Storm, Solr/Lucene, NoSQL databases (such as HBase, Cassandra, and MongoDB), and MPP databases (such as GreenPlum). He received his MS in software systems from the Birla Institute of Technology and Science, Pilani, India, and is currently working as a technical architect for the Big Data RandD Group with Impetus Infotech Pvt. Ltd. Previously, Nishant has enjoyed working with some of the most recognizable names in IT services and financial industries, employing full software life cycle methodologies such as Agile and SCRUM. Nishant has also undertaken many speaking engagements on big data technologies and is also the author of Apache Kafka and HBase Essentials, Packt Publishing.
Read more about Nishant Garg