[ 
https://issues.apache.org/jira/browse/PHOENIX-6703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17535949#comment-17535949
 ] 

ASF GitHub Bot commented on PHOENIX-6703:
-----------------------------------------

stoty commented on code in PR #1432:
URL: https://github.com/apache/phoenix/pull/1432#discussion_r871073043


##########
phoenix-client-parent/phoenix-client-embedded/pom.xml:
##########
@@ -94,5 +94,42 @@
       <artifactId>phoenix-hbase-compat-${hbase.compat.version}</artifactId>
       <optional>false</optional>
     </dependency>
+    <!

> 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 servlet 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)

Reply via email to