Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

SQuirreL connection phoenix installation configuration

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Reference link: http://phoenix.apache.org/installation.html#SQL_Client

Windows connects to hbase on linux servers

Download the installation file: squirrel-sql-3.8.1-standard.jar (my directory is C:\Users\29126\Downloads)

Install C:\Users\29126\Downloads>java -jar squirrel-sql-3.8.1-standard.jar (my installation directory selection is: F:\software\squirrel-sql-3.8.1)

Copy jar

Copy phoenix-core-5.0.0-alpha-HBase-2.0.jar from Phoenix's lib directory, phoenix-5.0.0-alpha-HBase-2.0-client.jar to squirrel's lib directory (Java program uses phoenix-core-5.0.0-alpha-HBase-2.0.jar to connect, so put it in, but the document does not say to put this jar)

Open the software and configure the driver

New driver directory configuration is as follows

name: phoenix_diver

example url: jdbc:phoenix: 192.168.50.107 (can also be configured arbitrarily, the latter alias will use this as the default value)

class name: org. apache.phoenix.jdbc.PhoenixDriver

configuration alias:

name: rhel_phoenix

Driver: phoenix_diver

URL: jdbc:phoenix: 192.168.50.107 (Note: 192.168.50.107 here is the IP of zookeeper, and port 2181 of zookeeper is omitted here.) Phoenix and hbase are connected via zookeeper)

Enter your username and password

Then test,connect.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report