hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi Ozawa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9613) [JDK8] Update jersey version to latest 1.x release
Date Thu, 29 Oct 2015 08:13:27 GMT

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

Tsuyoshi Ozawa commented on HADOOP-9613:
----------------------------------------

Steve, In the context of JDK8 support, we can still use Jersey 1.19, which supports JDK 8
with compatibility for client-side API. In the patch, ClientResponse.getClientResponseStatus,
which is a deprecated method, is replaced with reposense.getStatusInfo().getStatusCode to
remove the usages of deprecated methods, but getClientResponseStatus still remain. 
https://jersey.java.net/nonav/apidocs/1.19/jersey/com/sun/jersey/api/client/ClientResponse.html

About a incompatibility of return value when JSON object is null, we need a workaround to
keep compatibility.
{quote}
- assertEquals("jobs is not null", JSONObject.NULL, json.get("jobs"));
\+ assertEquals("jobs is not empty",
\+ new JSONObject().toString(), json.get("jobs").toString());
{quote}


> [JDK8] Update jersey version to latest 1.x release
> --------------------------------------------------
>
>                 Key: HADOOP-9613
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9613
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 2.4.0, 3.0.0
>            Reporter: Timothy St. Clair
>            Assignee: Tsuyoshi Ozawa
>              Labels: maven
>         Attachments: HADOOP-2.2.0-9613.patch, HADOOP-9613.004.incompatible.patch, HADOOP-9613.005.incompatible.patch,
HADOOP-9613.006.incompatible.patch, HADOOP-9613.007.incompatible.patch, HADOOP-9613.1.patch,
HADOOP-9613.2.patch, HADOOP-9613.3.patch, HADOOP-9613.patch
>
>
> Update pom.xml dependencies exposed when running a mvn-rpmbuild against system dependencies
on Fedora 18.  
> The existing version is 1.8 which is quite old. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message