Obtaining a driver for application development
To obtain the appropriate driver for application development, visit the specified site and download the driver from appropriate file path.
- JDBC Driver
-
Use the
/usr/hdp/current/phoenix-client/phoenix-client.jar
file in the Hortonworks Phoenix server-client repository. If you use the repository, download the JAR file corresponding to your installed HDP version. With Ambari, you can determine the HDP version by using the Versions tab. Alternatively, run the hadoop version command to print information displaying the HDP version. - JDBC Driver as a Maven dependency
-
See Download the HDP Maven Artifacts for Maven artifact repositories that are available for HDP.
- Microsoft .NET Driver
-
Download and install a NuGet package for the Microsoft .NET Driver for Apache Phoenix and Phoenix Query Server.
Note: Operability with this driver is a Hortonworks Technical Preview and considered under development. Do not use this feature in your production systems. If you have questions regarding this feature, contact Support by logging a case on the Hortonworks Support Portal.
- Other non-Java drivers
-
Other non-JDBC Drivers for Phoenix are available as HDP add-ons and on other websites, but they are not currently supported by Hortonworks. You can find compatible client drivers by constructing a web search string consisting of "avatica" and the name of an application programming language that you want to use. Example: avatica python .