Add Patched JAR Files to an Apache Phoenix Connector's Classpath
If your Apache Phoenix/HBase servers use patched .jar files, you might need to add the patched .jar files to the Apache Connector's classpath. If you do not, Apache Phoenix may produce an error indicating that you have outdated .jar files.
Add the patched .jar files to the Apache Phoenix connector's classpath:
-
Add the patched
.jarfiles to a directory that is accessible to the connector. For example:/usr/local/share/java/zoomdata/phoenix
-
Add or modify the following property in the
/etc/zoomdata/edc-phoenix-4.7.propertiesfile to specify the path to your.jarfiles as a comma-separated list indatasource.driver-config.jar-pathproperty. Be sure to put the path to your.jarfiles first so you do not corrupt entries already present in this property. For example:datasource.driver-config.jar-path=/usr/local/share/java/zoomdata/phoenix,lib/edc-phoenix-4.7/phoenix-core-4.7.0-HBase-1.1.jar
Comments
0 comments
Please sign in to leave a comment.