[jira] [Commented] (YARN-5332) Jersey ClientResponse#getStatusInfo api is not available with jersey 1.9

2016-07-07 Thread Sunil G (JIRA)

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

Sunil G commented on YARN-5332:
---

Thank you [~ozawa]. It was helpful. I think my project settings was still with 
1.9 (I had to change to 1.19) and cleared M2_REPO. It looks fine. I will close 
this issue, Thank you very much for helping and clarifying.

> Jersey ClientResponse#getStatusInfo api is not available with jersey 1.9
> 
>
> Key: YARN-5332
> URL: https://issues.apache.org/jira/browse/YARN-5332
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: test
>Reporter: Sunil G
>Assignee: Sunil G
>
> Few test classes like TestRMWebServices, were using 
> ClientResponse#getStatusInfo and this api is not available as part of jersey 
> 1.9.
> Pls refer: 
> https://jersey.java.net/apidocs/1.9/jersey/com/sun/jersey/api/client/ClientResponse.html
> {{getStatusInfo}} is not present here.
> We may need to change such invocations from these test classes.
> In HADOOP-9613, [~ozawa] mentioned in this 
> [comment|https://issues.apache.org/jira/browse/HADOOP-9613?focusedCommentId=14980024&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14980024]
>  that we can use {{getStatusInfo}}.
> [~ozawa], could you please help to confirm this point Or am I missing some 
> thing here. 



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-5332) Jersey ClientResponse#getStatusInfo api is not available with jersey 1.9

2016-07-07 Thread Tsuyoshi Ozawa (JIRA)

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

Tsuyoshi Ozawa commented on YARN-5332:
--

[~sunilg] How about executing {{mvn clean install test 
-Dtest=TestRMWebServices}}? It works on my local without cleaning 
jersey-client-1.9.jar. If it doesn't work, it might be useful to clean M2_REPO 
as ad-hoc solution on an empirical basis.

> Jersey ClientResponse#getStatusInfo api is not available with jersey 1.9
> 
>
> Key: YARN-5332
> URL: https://issues.apache.org/jira/browse/YARN-5332
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: test
>Reporter: Sunil G
>Assignee: Sunil G
>
> Few test classes like TestRMWebServices, were using 
> ClientResponse#getStatusInfo and this api is not available as part of jersey 
> 1.9.
> Pls refer: 
> https://jersey.java.net/apidocs/1.9/jersey/com/sun/jersey/api/client/ClientResponse.html
> {{getStatusInfo}} is not present here.
> We may need to change such invocations from these test classes.
> In HADOOP-9613, [~ozawa] mentioned in this 
> [comment|https://issues.apache.org/jira/browse/HADOOP-9613?focusedCommentId=14980024&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14980024]
>  that we can use {{getStatusInfo}}.
> [~ozawa], could you please help to confirm this point Or am I missing some 
> thing here. 



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-5332) Jersey ClientResponse#getStatusInfo api is not available with jersey 1.9

2016-07-07 Thread Sunil G (JIRA)

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

Sunil G commented on YARN-5332:
---

Thank you very much [~ozawa] for the details.
I checked in my environment and found that i have  *jersey-client-1.9.jar* 
under my M2_REPO. Do I need to delete this jar manually, but correct client has 
to picked automatically from the pom, rt?

> Jersey ClientResponse#getStatusInfo api is not available with jersey 1.9
> 
>
> Key: YARN-5332
> URL: https://issues.apache.org/jira/browse/YARN-5332
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: test
>Reporter: Sunil G
>Assignee: Sunil G
>
> Few test classes like TestRMWebServices, were using 
> ClientResponse#getStatusInfo and this api is not available as part of jersey 
> 1.9.
> Pls refer: 
> https://jersey.java.net/apidocs/1.9/jersey/com/sun/jersey/api/client/ClientResponse.html
> {{getStatusInfo}} is not present here.
> We may need to change such invocations from these test classes.
> In HADOOP-9613, [~ozawa] mentioned in this 
> [comment|https://issues.apache.org/jira/browse/HADOOP-9613?focusedCommentId=14980024&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14980024]
>  that we can use {{getStatusInfo}}.
> [~ozawa], could you please help to confirm this point Or am I missing some 
> thing here. 



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-5332) Jersey ClientResponse#getStatusInfo api is not available with jersey 1.9

2016-07-07 Thread Tsuyoshi Ozawa (JIRA)

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

Tsuyoshi Ozawa commented on YARN-5332:
--

[~sunilg] Thanks for reporting the issue. Please see the doc of Jersey 1.19, 
not 1.9 because we upgraded Jersey to 1.19. Feel free to ask me about the 
update of dependency.
https://jersey.java.net/apidocs/1.19/jersey/com/sun/jersey/api/client/ClientResponse.html#getClientResponseStatus()


> Jersey ClientResponse#getStatusInfo api is not available with jersey 1.9
> 
>
> Key: YARN-5332
> URL: https://issues.apache.org/jira/browse/YARN-5332
> Project: Hadoop YARN
>  Issue Type: Bug
>  Components: test
>Reporter: Sunil G
>Assignee: Sunil G
>
> Few test classes like TestRMWebServices, were using 
> ClientResponse#getStatusInfo and this api is not available as part of jersey 
> 1.9.
> Pls refer: 
> https://jersey.java.net/apidocs/1.9/jersey/com/sun/jersey/api/client/ClientResponse.html
> {{getStatusInfo}} is not present here.
> We may need to change such invocations from these test classes.
> In HADOOP-9613, [~ozawa] mentioned in this 
> [comment|https://issues.apache.org/jira/browse/HADOOP-9613?focusedCommentId=14980024&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14980024]
>  that we can use {{getStatusInfo}}.
> [~ozawa], could you please help to confirm this point Or am I missing some 
> thing here. 



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org