hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Doroszlai (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-16990) Update Mockserver
Date Thu, 01 Oct 2020 20:26:00 GMT

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

Attila Doroszlai edited comment on HADOOP-16990 at 10/1/20, 8:25 PM:
---------------------------------------------------------------------

MockServer 5.11.0 and 5.11.1 (latest release) depend on Netty 4.1.50 (same as Hadoop trunk).
 But also on Guava 28.2-android, which is ahead of Hadoop (27.0-jre).  There is no previous
release of MockServer with Guava 27.0 dependency.  They upgraded from 20 to 28.1.

With [^HADOOP-16990.001.patch]:

{code}
[INFO] +- org.mock-server:mockserver-netty:jar:5.11.1:test
[INFO] |  +- org.mock-server:mockserver-client-java:jar:5.11.1:test
[INFO] |  \- org.mock-server:mockserver-core:jar:5.11.1:test
[INFO] |     +- com.lmax:disruptor:jar:3.4.2:test
[INFO] |     +- io.netty:netty-codec-socks:jar:4.1.50.Final:test
{code}

BTW, MockServer is only used in HDFS Client:

{code}
hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFSOAuth2.java
hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/web/oauth2/TestClientCredentialTimeBasedTokenRefresher.java
hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/web/oauth2/TestRefreshTokenTimeBasedTokenRefresher.java
{code}


was (Author: adoroszlai):
MockServer 5.11.0 and 5.11.1 (latest release) depend on Netty 4.1.50 (same as Hadoop trunk).
 But also on Guava 28.2-android, which is ahead of Hadoop (27.0-jre).  There is no previous
release of MockServer with Guava 27.0 dependency.  They upgraded from 20 to 28.1.

With [^HADOOP-16990.001.patch]:

{code}
[INFO] +- org.mock-server:mockserver-netty:jar:5.11.1:test
[INFO] |  +- org.mock-server:mockserver-client-java:jar:5.11.1:test
[INFO] |  \- org.mock-server:mockserver-core:jar:5.11.1:test
[INFO] |     +- com.lmax:disruptor:jar:3.4.2:test
[INFO] |     +- io.netty:netty-codec-socks:jar:4.1.50.Final:test
{code}



> Update Mockserver
> -----------------
>
>                 Key: HADOOP-16990
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16990
>             Project: Hadoop Common
>          Issue Type: Task
>            Reporter: Wei-Chiu Chuang
>            Assignee: Attila Doroszlai
>            Priority: Major
>         Attachments: HADOOP-16990.001.patch
>
>
> We are on Mockserver 3.9.2 which is more than 5 years old. Time to update.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message