[
https://issues.apache.org/jira/browse/PHOENIX-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14000466#comment-14000466
]
Hudson commented on PHOENIX-966:
--------------------------------
SUCCESS: Integrated in Phoenix #224 (See
[https://builds.apache.org/job/Phoenix/224/])
PHOENIX-966 Context classloader for Phoenix classes (gabrielr: rev
f50ba17af36cd0ee76b1ec331c8fe0f109596df5)
* phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java
*
phoenix-core/src/test/java/org/apache/phoenix/util/PhoenixContextExecutorTest.java
* phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixContextExecutor.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ContextClassloaderIT.java
* phoenix-core/src/main/java/org/apache/phoenix/query/ConfigurationFactory.java
* phoenix-core/src/main/java/org/apache/phoenix/job/JobManager.java
*
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
> Phoenix needs to be on the main classpath of SQL tools
> ------------------------------------------------------
>
> Key: PHOENIX-966
> URL: https://issues.apache.org/jira/browse/PHOENIX-966
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 3.0.0, 4.0.0
> Reporter: Gabriel Reid
> Assignee: Gabriel Reid
> Fix For: 5.0.0, 3.1, 4.1
>
> Attachments: PHOENIX-966a.patch, PHOENIX-966b-3.0.patch,
> PHOENIX-966b-4.0.patch
>
>
> The Phoenix client jar currently needs to be put on the boot classpath of
> external SQL tools in order to function correctly, while most JDBC drivers do
> not have this requirement.
> For example, in SQuirreL there is an option to provide the path to the JDBC
> driver jar file when defining a JDBC driver. This approach doesn't work with
> Phoenix due to it dependence on loading classes and the hbase-default.xml
> file via the context classloader.
> For installations of external tools where users don't have the
> rights/abilities/knowledge necessary to add an external jar file to the boot
> classpath, this causes a genuine issue for using Phoenix.
--
This message was sent by Atlassian JIRA
(v6.2#6252)