[
https://issues.apache.org/jira/browse/HDFS-14954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969934#comment-16969934
]
Takanobu Asanuma commented on HDFS-14954:
-----------------------------------------
We may be able to replace junit APIs with something like guava's Preconditions.
But many tests depend on MiniDFSCluster and I am a little worried about how it
impacts on them.
> [Dynamometer] create-slim-hadoop-tar.sh accidentally removes junit jar from
> tarball
> -----------------------------------------------------------------------------------
>
> Key: HDFS-14954
> URL: https://issues.apache.org/jira/browse/HDFS-14954
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: tools
> Reporter: Takanobu Asanuma
> Priority: Major
>
> JUnit jar path is different each hadoop version.
> {noformat}
> $ find hadoop-2.9.2 -name "junit*.jar"
> hadoop-2.9.2/share/hadoop/common/lib/junit-4.11.jar
> hadoop-2.9.2/share/hadoop/mapreduce/lib/junit-4.11.jar
> $ find hadoop-3.0.0 -name "junit*.jar"
> hadoop-3.0.0/share/hadoop/common/lib/junit-4.11.jar
> $ find hadoop-3.1.3 -name "junit*.jar"
> hadoop-3.1.3/share/hadoop/mapreduce/lib/junit-4.11.jar
> $ find hadoop-3.2.1 -name "junit*.jar"
> hadoop-3.2.1/share/hadoop/mapreduce/lib/junit-4.11.jar
> $ find hadoop-3.3.0-SNAPSHOT -name "junit*.jar"
> hadoop-3.3.0-SNAPSHOT/share/hadoop/tools/lib/junit-4.12.jar
> {noformat}
> Since {{create-slim-hadoop-tar.sh}} removes the tools directory, the junit
> jar is removed after hadoop-3.1 that is necessary for Dyno-DNs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]