[ https://issues.apache.org/jira/browse/HADOOP-8738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908698#comment-16908698 ]
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. {noformat} $ 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 hadoop-3.3.0-SNAPSHOT/licenses-binary/LICENSE-junit.txt -rw-r--r-- iwasakims/docker 314932 2019-08-16 10:53 hadoop-3.3.0-SNAPSHOT/share/hadoop/tools/lib/junit-4.12.jar {noformat} 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 (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org