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

Guang Yang commented on HBASE-12894:
------------------------------------

{quote}
Since this is only going into the master / HBase 2.0 branch, is there a reason 
not to upgrade Jackson while you're at it?
{quote}
I didn't test it myself for Jackson2, since Jersey 2 supports both Jackson1 and 
Jackson2 (https://jersey.java.net/documentation/latest/media.html), I simply go 
with Jackson1 since that is guaranteed to keep the compatibility. Looking at 
the [migration guide for 
Jersey|https://jersey.java.net/documentation/latest/migration.html], "The 
Jackson JSON Jersey module has been updated to use Jackson 2.x instead of 
Jackson 1.x. This means that all the code that has been using Jackson 1.x for 
JSON (de)serialization has to be migrated to Jackson 2.x.", json representation 
might get changed and clients needs some rewritten as well  to work with 
jackson2 (not sure if this becomes a problem for HBase 2.0 branch?).

{quote}
If you're going to work on it, it should be assigned to you
{quote}
Seems I don't have the permission for that, could you help on that, or should I 
request permission somewhere? Thanks.

> 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
>    Affects Versions: 0.98.0
>            Reporter: Rick Hallihan
>              Labels: MicrosoftSupport
>             Fix For: 2.0.0
>
>
> 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)

Reply via email to