You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2022/05/17 06:20:00 UTC

[jira] [Resolved] (PHOENIX-6703) Exclude Jetty and servlet-api from phoenix-client

     [ https://issues.apache.org/jira/browse/PHOENIX-6703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Istvan Toth resolved PHOENIX-6703.
----------------------------------
    Fix Version/s: 5.2.0
       Resolution: Fixed

Committed to master.

> 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
>             Fix For: 5.2.0
>
>
> 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)