[
https://issues.apache.org/jira/browse/HBASE-12894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15617332#comment-15617332
]
Sean Busbey commented on HBASE-12894:
-------------------------------------
any chance we can deconflict some of these servlet-api dependencies?
{code}
[INFO] javax.servlet:javax.servlet-api:jar:3.0.1:test
| [INFO]
javax.servlet:javax.servlet-api:jar:3.0.1:test
----------------------------------------------------------------------------------------------------|
[INFO] javax.servlet:javax.servlet-api:jar:3.1.0:compile
----------------------------------------------------------------------------------------------------|
[INFO] javax.servlet:javax.servlet-api:jar:3.1.0:test
[INFO] javax.servlet:servlet-api:jar:2.5:compile
| [INFO] javax.servlet:servlet-api:jar:2.5:compile
[INFO] javax.servlet:servlet-api:jar:2.5:runtime
| [INFO] javax.servlet:servlet-api:jar:2.5:runtime
{code}
The left is before, where we have versions 2.5 and 3.0.1. now we've added a
third version across the project. more importantly, we used to have only the
single non-test version and now we have 2. (the maven dependency:tree command
will show you where we bring in each.)
> Upgrade Jetty to 9.2.6
> ----------------------
>
> Key: HBASE-12894
> URL: https://issues.apache.org/jira/browse/HBASE-12894
> Project: HBase
> Issue Type: Improvement
> Components: REST, UI
> Affects Versions: 0.98.0
> Reporter: Rick Hallihan
> Assignee: Guang Yang
> Priority: Critical
> Labels: MicrosoftSupport
> Fix For: 2.0.0
>
> Attachments: HBASE-12894_Jetty9_v0.patch,
> HBASE-12894_Jetty9_v1.patch, HBASE-12894_Jetty9_v1.patch,
> HBASE-12894_Jetty9_v2.patch, HBASE-12894_Jetty9_v3.patch,
> HBASE-12894_Jetty9_v4.patch, dependency_list_after, dependency_list_before
>
>
> The Jetty component that is used for the HBase Stargate REST endpoint is
> version 6.1.26 and is fairly outdated. We recently had a customer inquire
> about enabling cross-origin resource sharing (CORS) for the REST endpoint and
> found that this older version does not include the necessary filter or
> configuration options, highlighted at:
> http://wiki.eclipse.org/Jetty/Feature/Cross_Origin_Filter
> The Jetty project has had significant updates through versions 7, 8 and 9,
> including a transition to be an Eclipse subproject, so updating to the latest
> version may be non-trivial. The last update to the Jetty component in
> https://issues.apache.org/jira/browse/HBASE-3377 was a minor version update
> and did not require significant work. This update will include a package
> namespace update so there will likely be a larger number of required changes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)