• 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 , скачать apache url 10 temp

This Article Has Been Shared 713 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k 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

  • What is Voice User Interface (VUI) January 31, 2023
  • Proxy Server: Design Pattern in Programming January 30, 2023
  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023

About This Article

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

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT