[
https://issues.apache.org/jira/browse/PHOENIX-6703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17531488#comment-17531488
]
Istvan Toth commented on PHOENIX-6703:
--------------------------------------
I have poked around some more.
Hbase is not a problem, but Hadoop potentially is.
Hadoop 3.1 does refer org.eclipse.jetty.util in a few client classes (logging
and JSON stuff).
While it probably won't affect the JDBC client, it MIGHT be needed for some of
the MR stuff.
I'm gonna keep netty-util and netty-util-ajax for now.
> Exclude Jetty and servlet-api from phoenix-client
> -------------------------------------------------
>
> Key: PHOENIX-6703
> URL: https://issues.apache.org/jira/browse/PHOENIX-6703
> Project: Phoenix
> Issue Type: Improvement
> Components: core
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
>
> phoenix-client-embedded includes a Jetty server, and the Jetty API.
> I don't think that there is a legitimate reason to have a web server in a
> JDBC driver.It adds bloat, and tries to do some stuff at startup which takes
> time.
> More pressingly, the shaded javax.servlet classes conflict with minicluster,
> which breaks the tests in phoenix-queryserver.
> Remove Jetty and the Servlet API from the shaded phoenix-client JAR.
> We could also consider excluding these dependencies in phoenix-core.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)