• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How To Install Apache Phoenix (SQL on HBase)

By Abhishek Ghosh December 26, 2018 9:52 am Updated on December 26, 2018

How To Install Apache Phoenix (SQL on HBase)

Advertisement

We talked about Apache Phoenix in our previous guides and articles such as How To Install Apache HBase and List of Apache Projects For Big Data. Apache Phoenix is a massively parallel, relational database engine supporting OLTP for Hadoop using Apache HBase as store. Phoenix provides a JDBC driver that cleverly hides the noSQL store in front enabling the users to create, delete, and alter SQL tables, views, insert and delete rows and query data through SQL. Apache Phoenix started as an internal project by the company salesforce out of a need to support a higher level, SQL language. Apache Phoenix is included in the Hortonworks distribution for HDP 2.1 and above, available as part of Cloudera labs, and is part of the Hadoop ecosystem.

How To Install Apache Phoenix

If we want to install Apache Phoenix, we must have install Hadoop and Hbase first. Installing Apache Phoenix itself is easy. Official website of Apache Phoenix :

Vim
1
2
3
4
5
#
http://phoenix.apache.org/index.html
#
https://github.com/apache/phoenix
#

Apache Phoenix have different versions with version compatibility with HBase, like :

Advertisement

---

Phoenix 2.x – HBase 0.94.x
Phoenix 3.x – HBase 0.94.x
Phoenix 4.x – HBase 0.98.1+
…
Phoenix 5.x – HBase 2.1+

At this moment, Phoenix 5.x is the latest version.

 

How To Install Apache Phoenix

 

We can donload the binary file from here :

Vim
1
2
3
#
http://www.eu.apache.org/dist/phoenix/
#

This is the exact URL to get the tar ball :

Vim
1
2
3
#
http://www.eu.apache.org/dist/phoenix/apache-phoenix-5.0.0-HBase-2.0/bin/
#

We will simply wget it :

Vim
1
wget http://www.eu.apache.org/dist/phoenix/apache-phoenix-5.0.0-HBase-2.0/bin/apache-phoenix-5.0.0-HBase-2.0-bin.tar.gz

Then just extract it with this command :

Vim
1
2
3
tar -xzvf apache-phoenix-5.0.0-HBase-2.0-bin.tar.gz
 
ls -al

Thereafter, we can move it into /usr/lib/phoenix directory :

Vim
1
sudo mv apache-phoenix-5.0.0-HBase-2.0-bin /usr/lib/phoenix

We need to set the environment variable in ~/.bashrc file, open it with nano :

Vim
1
nano ~/.bashrc

Add these lines at the bottom of that file :

Vim
1
2
3
## added for Apache Phonenix
export PHOENIX_HOME=/usr/lib/phoenix
export PATH=$PATH:$PHOENIX_HOME/bin

Save the file and reload environment :

Vim
1
source ~/.bashrc

Additionally, your installation of Hadoop, HBase should have the usual environment variable in ~/.bashrc file, like :

Vim
1
2
export HADOOP_HOME=/path/to/hadoop-1.2.1
export HBASE_HOME=/path/to/hbase-0.94.15

We have to copy server.jar, client.jar jar files (real names will include Phoenix & HBase versions) into $HBASE_HOME/lib directory. Those files located in $PHOENIX_HOME directory i.e. /usr/lib/phoenix.

Earlier we discussed about sqlline. We can run this command to check installation :

Vim
1
sqlline.py localhost

That ends this guide. Rest, you can read from the official website :

Vim
1
https://phoenix.apache.org/Phoenix-in-15-minutes-or-less.html

Tagged With apache phoenix insert multiple rows , apache phoenix query server standalone windows , apache phownix tar file , hbase phoenix spark 2 , how to install phoenix on hbase , using phoenix with hbase

This Article Has Been Shared 419 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How To Install Apache Phoenix (SQL on HBase)

  • Install Apache Drill on Ubuntu 16.04 LTS Single Cloud Server

    Drill is SQL Query Engine for Hadoop, NoSQL, Cloud Storage. Here is How to Install Apache Drill on Ubuntu 16.04 LTS Single Cloud Server.

  • Create Data Science Environment on Cloud Server With Docker

    Here Are the Steps, Commands to Create Data Science Environment on Cloud Server For Data Analysis Starting With a Blank Server With SSH.

  • Install Apache Gearpump On localhost (Ubuntu, Windows 10 Bash, Mac)

    Apache Gearpump is a real-time big data streaming engine, it is event/message based. Here is How to Install Apache Gearpump On localhost or Cloud Server.

  • How To Install SBT and Scala on Ubuntu Server

    Here Are The Steps on How To Install SBT and Scala on Ubuntu Server. sbt is a build tool for Scala and Java projects Like Apache Maven, Apache Ant.

  • Install Jupyter Notebook and TensorFlow On Ubuntu 18.04 Server

    Here is How To Install Jupyter Notebook and TensorFlow On Ubuntu 18.04 Server. It is probably easy to install Anaconda for Python packages.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (21K Followers)
  • Twitter (5.3k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • How Startups Can Convince the Investors April 14, 2021
  • What to Know About the Cloud Storage Services for Smartphones April 13, 2021
  • WonderFox HD Video Converter Factory Pro Review April 10, 2021
  • What is the Maximum Cable Length Between Arduino/ESP32 and a Sensor April 8, 2021
  • Is the Blockchain Hype Running Out of Breath? April 7, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "How To Install Apache Phoenix (SQL on HBase)," in The Customize Windows, December 26, 2018, April 15, 2021, https://thecustomizewindows.com/2018/12/how-to-install-apache-phoenix-sql-on-hbase/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy