Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

SQuirreL connection phoenix installation configuration

Shulou Source: shulou.com Published: 2022-06-03 05:58:46 10月01日 Update

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.

Tags: Directory configuration copy selection password file document server user user name program port naming software put reference service driver Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Linux MariaDB MySQL Shulou Information