Masatake Iwasaki commented on HADOOP-8738:

YARN seems not to have junit as its runtime dependency today but I can see 
junit jar under hadoop-tools due to hadoop-dynamometer-infra having compile 
scope dependency on junit.
$ tar ztvf hadoop-dist/target/hadoop-3.3.0-SNAPSHOT.tar.gz | grep junit
-rw-r--r-- iwasakims/docker 11366 2019-08-15 07:38 
-rw-r--r-- iwasakims/docker    314932 2019-08-16 10:53 
It might be harmless now because jars of hadoop-tools and its dependencies are 
not on classpath without setting HADOOP_OPTIONAL_TOOLS. In addition, 
dynamometer seems not to be using scripts under libexec/shellprofile.d/.

> junit JAR is showing up in the distro
> -------------------------------------
>                 Key: HADOOP-8738
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8738
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.0.2-alpha, 3.0.0-alpha1
>            Reporter: Alejandro Abdelnur
>            Priority: Major
>         Attachments: HADOOP-8738.patch
> It seems that with the move of YARN module to trunk/ level the test scope in 
> junit got lost. This makes the junit JAR to show up in the TAR

This message was sent by Atlassian JIRA

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

Reply via email to