[
https://issues.apache.org/jira/browse/DRILL-7636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Guzenko closed DRILL-7636.
-------------------------------
Resolution: Won't Fix
After some investigation, I figured out that this is not possible because a lot
of web server code depends on java-exec classes (since RPC used for metrics
collections and other control tasks for the cluster), plus java-exec is the
right place to start an embedded server. Splitting the code into two modules
creates circular dependency and doesn't make sense in this case.
> Extract Web-related code to a new drill-web module
> --------------------------------------------------
>
> Key: DRILL-7636
> URL: https://issues.apache.org/jira/browse/DRILL-7636
> Project: Apache Drill
> Issue Type: Improvement
> Reporter: Igor Guzenko
> Assignee: Igor Guzenko
> Priority: Major
>
> At the moment Drill uses combination of Freemarker template generator, Jetty
> embedded server, and Jersey JAX-RS implementation for hosting Web UI client
> for submission of queries and monitoring tasks. Historically all the code was
> written in one *java-exec* module and part of the web code was copied to
> *drill-on-yarn* module.
> In order to improve modular structure, reuse web code in drill-on-yarn and
> simplify future evolvement of Web UI it makes sense to extract web-related
> code into a new module and use it as a dependency for exec and yarn modules.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)