[jira] [Commented] (HDFS-13825) HDFS Uses very outdated okhttp library

2018-08-15 Thread Sean Busbey (JIRA)


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

Sean Busbey commented on HDFS-13825:


[~BenParker25] is this problem still present if you rely on the 
{{hadoop-client-api}} / {{hadoop-client-runtime}} jars? those are meant to be 
the downstream facing interface for HDFS.

> HDFS Uses very outdated okhttp library
> --
>
> Key: HDFS-13825
> URL: https://issues.apache.org/jira/browse/HDFS-13825
> Project: Hadoop HDFS
>  Issue Type: Improvement
>Affects Versions: 3.0.3
>Reporter: Ben Parker
>Priority: Minor
>
> HDFS Client uses okHttp library version 2.7.4 which is two years out of date.
> [https://mvnrepository.com/artifact/com.squareup.okhttp/okhttp]
> The updates for this library have been moved to a new package here:
> [https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp]
>  
> This causes dependancy management problems for services that use HDFS.
> For example trying to use okHttp in code that runs on Amazon EMR gives you 
> Method not found errors due to the new version being kicked out in favour of 
> the one used by HDFS.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (HDFS-13825) HDFS Uses very outdated okhttp library

2018-08-14 Thread Wei-Chiu Chuang (JIRA)


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

Wei-Chiu Chuang commented on HDFS-13825:


[~rchiang] updated okhttp to 2.7.5 in HADOOP-14651.

We actually use com.squareup.okhttp3 (version 3.7.0) but in test scope. okhttp 
is used in a few source code files (mostly for oauth2). Any volunteers here to 
migrate them? If we can make sure okhttp objects are not passed in public API 
parameters, we should be okay.

> HDFS Uses very outdated okhttp library
> --
>
> Key: HDFS-13825
> URL: https://issues.apache.org/jira/browse/HDFS-13825
> Project: Hadoop HDFS
>  Issue Type: Improvement
>Affects Versions: 3.0.3
>Reporter: Ben Parker
>Priority: Minor
>
> HDFS Client uses okHttp library version 2.7.4 which is two years out of date.
> [https://mvnrepository.com/artifact/com.squareup.okhttp/okhttp]
> The updates for this library have been moved to a new package here:
> [https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp]
>  
> This causes dependancy management problems for services that use HDFS.
> For example trying to use okHttp in code that runs on Amazon EMR gives you 
> Method not found errors due to the new version being kicked out in favour of 
> the one used by HDFS.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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