Hbase query engine-Use of Phoenix

Source: Internet
Author: User

Description: The Phoenix query engine converts an SQL query to one or more hbase scans and orchestrates the execution to generate a standard JDBC result set. Using hbase APIs, coprocessor, and custom filters directly, the performance of a simple query is millisecond. For millions of rows, the performance is second. More reference Official Website: http://phoenix.apache.org/

Command Line: sqlline installation:

1, SetPhoenix-3.0.0-incubating.tar.gzInstallLinuxLower

2, SetPhoenix-3.0.0-incubating \ common \ phoenix-core-3.0.0-incubating.jarPackageCopyToHbaseClusterLibMedium

3RestartHbase

4,Start sqlline: Enter/Home/hadoop/APP/Phoenix-3.0.0-incubating/binDirectory, run:Sqlline. py [zookeeper]

For example, sqlline. py datanode1: 2181

Note: [zookeeper] indicates the address of the zookeeper server.

 

Client: squirrelsql.Install

1. Download

Http://www.squirrelsql.org/

2. Installation Process

Click to install

3. JarPackage supplement, the followingJarAddSquirrelInstallation Directory/Lib


Note:HbaseRelated package fromHbase-0.94.6-cdh4.3.0/libYou can get it.HbaseVersion:Hbase-0.94.6-cdh4.3.0,

PhoenixTwo related packages fromPhoenix-3.0.0-incubating \ commonYou can get it.PhoenixVersion:Phoenix-3.0.0-incubating,

Can be downloaded fromHttp://phoenix.apache.org/download.html#SQL-Client

4. Configure the driver and runSquirrel, ClickDrivers


Click AddDriverIn the left-side navigation pane.OK

5. Configure the connection and click Add.Alias

Note: MyHbase zookeepererConfiguration

6. connection. The page is displayed.



Hbase query engine-Use of Phoenix

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.