HBaseCoprocessor analysis and programming practices

Source: Internet
Author: User
1. WhyHBaseCoprocessor HBase, as a column Family database, is most often criticized. features include: It is difficult to easily create secondary indexes and perform operations such as sum, count, and sort. For example, in the old version (0.92) Hbase, to count the total number of rows in a data table, you need to use the Counter method to execute a MapReduceJob. Although HBa

1. Why HBase Coprocessor HBase, as a column Family database, is most often criticized. features include: It is difficult to easily create secondary indexes and perform operations such as sum, count, and sort. For example, in the old version (0.92) Hbase, to count the total number of rows in a data table, you need to use the Counter method to execute a MapReduce Job. Although HBa

1. Cause (Why HBase Coprocessor)

HBase, as a column Family database, is most often criticized for the following features: it is difficult to easily create a "secondary index" and to perform operations such as sum, count, and sort. For example, in the earlier version (<0.92) Hbase, the website space, the total number of rows in the statistical data table, and the website space must use the Counter method to execute a MapReduce Job. Although HBase integrates MapReduce in the data storage layer, it can be effectively used for Distributed Computing of data tables. However, in many cases, if you directly place the computing process on the server side during simple addition or aggregation computing, the communication overhead can be reduced to achieve good performance improvement. As a result, HBase introduced coprocessors after 0.92 to implement some exciting new features: the ability to easily create secondary indexes, complex filters (predicate push-down), and access control.

2. Source of Inspration)

The HBase coprocessor was inspired by Jeff Dean's speech (P66-67) in the year 09 ). Based on the speech, it implements coprocessor similar to bigtable, including the following features:

, Hong Kong VM

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.