You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2023/01/16 09:15:48 UTC
[GitHub] [hadoop] aajisaka commented on pull request #5021: MAPREDUCE-7415. Upgrade Junit 4 to 5 in hadoop-mapreduce-client-nativetask
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`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org