Skip to content

Apache Phoenix on Docker: Apache Hadoop - 2.7.2 Apache HBase - 1.2.5 Apache Phoenix - 4.10.0

Notifications You must be signed in to change notification settings

AvapnoFoundation/docker-apache-phoenix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache Phoenix on Docker

A Docker image to quick start Apache Phoenix on Apache HBase to provide an SQL interface. This image uses the Phoenix Avatica queryserver to allow thin clients to communicate via REST requests over wire protocol.

Apache Phoenix is a SQL skin over HBase delivered as a client-embedded JDBC driver targeting low latency queries over HBase data. Apache Phoenix takes your SQL query, compiles it into a series of HBase scans, and orchestrates the running of those scans to produce regular JDBC result sets. The table metadata is stored in an HBase table and versioned, such that snapshot queries over prior versions will automatically use the correct schema. Direct use of the HBase API, along with coprocessors and custom filters, results in performance on the order of milliseconds for small queries, or seconds for tens of millions of rows.

###Versions Apache Hadoop - 2.7.2 Apache HBase - 1.2.5 Apache Phoenix - 4.10.0

###Launch The queryserver can be accessed via the host ip and the port 8765.

####Foreground docker run -it --name hp -p 8765:8765 8765:8765 –p 2181:2181 -p 60010:60010 -p 60000:60000 -p 60020:60020 -p 60030:60030 avapno/apache-phoenix

####Background docker run -d --name hp -p 8765:8765 –p 2181:2181 -p 60010:60010 -p 60000:60000 -p 60020:60020 -p 60030:60030 avapno/apache-phoenix

###sqlline docker exec -it phoenix -sqlline

About

Apache Phoenix on Docker: Apache Hadoop - 2.7.2 Apache HBase - 1.2.5 Apache Phoenix - 4.10.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages