[ https://issues.apache.org/jira/browse/MAPREDUCE-7415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677262#comment-17677262 ]
ASF GitHub Bot commented on MAPREDUCE-7415: ------------------------------------------- aajisaka commented on PR #5021: URL: https://github.com/apache/hadoop/pull/5021#issuecomment-1383715402 I noticed the tests are skipped in https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5021/1/testReport/org.apache.hadoop.mapred.nativetask.kvtest/KVTest/ Reading the log https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5021/1/console, `-Pnative` option is missing when compiling Hadoop, ``` 00:01:04 cd /home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-5021/ubuntu-focal/src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask 00:01:04 /usr/bin/mvn --batch-mode -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-5021/yetus-m2/hadoop-trunk-patch-0 -Ptest-patch -DskipTests -fae clean install -DskipTests=true -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true -Dspotbugs.skip=true > /home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-5021/ubuntu-focal/out/patch-mvninstall-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-nativetask.txt 2>&1 00:01:25 Elapsed: 0m 35s ``` and only the hadoop-mapreduce-client-nativetask module is later complied with `-Pnative`. ``` 00:02:38 cd /home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-5021/ubuntu-focal/src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask 00:02:38 /usr/bin/mvn --batch-mode -Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-5021/yetus-m2/hadoop-trunk-patch-0 -Ptest-patch -DskipTests -Pnative -Drequire.fuse -Drequire.openssl -Drequire.snappy -Drequire.valgrind -Drequire.zstd -Drequire.test.libhadoop -Pyarn-ui clean test-compile -DskipTests=true > /home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-5021/ubuntu-focal/out/patch-compile-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-nativetask-jdkPrivateBuild-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07.txt 2>&1 00:03:29 Elapsed: 0m 57s ``` 1. We should always add `-Pnative` when compiling Hadoop. (Should be fixed in a separate JIRA) 2. As a workaround, could you make some noop change in hadoop-common module to compile Hadoop native library with `-Pnative`? > Upgrade Junit 4 to 5 in hadoop-mapreduce-client-nativetask > ---------------------------------------------------------- > > Key: MAPREDUCE-7415 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7415 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Components: test > Affects Versions: 3.3.4 > Reporter: Ashutosh Gupta > Assignee: Ashutosh Gupta > Priority: Major > Labels: pull-request-available > > Upgrade Junit 4 to 5 in hadoop-mapreduce-client-nativetask -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org