Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HADOOP-19180. EC: Fix calculation errors caused by special index order #6813

Merged
merged 11 commits into from
Aug 19, 2024

Conversation

zhengchenyu
Copy link
Contributor

@zhengchenyu zhengchenyu commented May 11, 2024

Description of PR

I found that if the erasedIndexes distribution is such that the parity index is in front of the data index, ec will produce wrong results when decoding.

In fact, HDFS-15186 has described this problem, but does not fundamentally solve it.

The reason is that the code assumes that erasedIndexes is preceded by the data index and followed by parity index. If there is a parity index placed in front of the data index in the incoming code, a calculation error will occur.

When we decode the data unit, we multiply the existing data by the decoding matrix. (Look at the formula doc in 1.2)
When we decode the parity unit, we multiply the existing data by the decoding matrix, get data unit, then multiply by encoding matrix. (Look at the formula doc in 1.1 and 1.2 )
The calculations for parity and block are different. But They calculate in two separate loops, then the code requires that the data index must precede the parity index.

How was this patch tested?

The TestErasureCodingEncodeAndDecode unit test and the erasure_code_test binary were executed on different machines. The test machines include those with isa-l installed and those without isa-l installed.

For code changes:

  • Make erasedIndexes support arbitrary index distribution.

@slfan1989
Copy link
Contributor

slfan1989 commented May 14, 2024

@zhangshuyan0 @haiyang1987 Could you help review this PR? I'm not very familiar with EC, but I've noticed that you have submitted quite a few improvements related to EC. Thank you very much! @zhengchenyu Thank for the contribution!

Copy link
Contributor

@zhangshuyan0 zhangshuyan0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhengchenyu Thanks for your report! If there is a parity index smaller than data index, there will be a bug in decoding calculation. Is this what you mean?
Firstly, I am curious when parity index will be smaller?
Secondly, if this situation occurs, the reading of EC files may also be affected. So, I think we won't actively modify the code to make this happen.

@zhengchenyu
Copy link
Contributor Author

zhengchenyu commented May 14, 2024

@zhangshuyan0
Thanks for your review!
I don't means that parity index is smaller. Parity index and data index is fixed number, we can't update it.
The reproduce case:
When we call RawErasureDecoder::decode, and if the parameter erasedIndexes is in special order. The special order is that the parity index precedes the data index. For example, if erasedIndexes is [8,0], will reproduce this problem.
And you can run unit tests directly and reproduce this easily.
I printed erasedIndexes for all errors in the unit test in wrongindex.txt, all meet this characteristic.

@zhangshuyan0
Copy link
Contributor

@zhengchenyu Thanks for your explanation! I got it. This PR LGTM.
I'm just curious about one thing now: when does the parity index precede the data index in current code? I haven't found one.

@zhengchenyu
Copy link
Contributor Author

zhengchenyu commented May 16, 2024

@zhengchenyu Thanks for your explanation! I got it. This PR LGTM. I'm just curious about one thing now: when does the parity index precede the data index in current code? I haven't found one.

HDFS-15186 has described this problem, but does not fundamentally solve it.
I think we should not expect to find this scenario, and if it occurs, it will cause problems with unrecoverable data.
In fact, as mentioned in HDFS-15186, there is no fundamental reason to find out, which also leads to some data developer not trusting to put a large amount of data into the EC.

@zhangshuyan0
Copy link
Contributor

@zhengchenyu Thanks for your reply. I agree.

Copy link
Contributor

@ZanderXu ZanderXu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense.

Maybe you should move this ticket to HADOOP and move the UT to common.

@zhengchenyu
Copy link
Contributor Author

zhengchenyu commented May 17, 2024

@ZanderXu
Yes, I agree! This PR should be move to common. Should I create another HADOOP JIAR? At least I can't change HDFS jira to Hadoop jira.

@zhengchenyu zhengchenyu changed the title HDFS-17521. Erasure Coding: Fix calculation errors caused by special index order HDFS-17521. EC: Fix calculation errors caused by special index order May 17, 2024
@haiyang1987
Copy link
Contributor

@ZanderXu Yes, I agree! This PR should be move to common. Should I create another HADOOP JIAR? At least I can't change HDFS jira to Hadoop jira.

you can move hdfs to common

image

@zhengchenyu zhengchenyu changed the title HDFS-17521. EC: Fix calculation errors caused by special index order HADOOP-19180. EC: Fix calculation errors caused by special index order May 17, 2024
@github-actions github-actions bot removed the HDFS label May 17, 2024
@zhengchenyu
Copy link
Contributor Author

@haiyang1987 thank you for your reminder!
I have move this to hadoop common!

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 37m 48s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 47m 59s trunk passed
+1 💚 compile 16m 4s trunk passed
+1 💚 checkstyle 1m 18s trunk passed
+1 💚 mvnsite 1m 44s trunk passed
+1 💚 javadoc 1m 4s trunk passed
+1 💚 spotbugs 2m 40s trunk passed
+1 💚 shadedclient 35m 0s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 35m 25s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+1 💚 mvninstall 0m 58s the patch passed
+1 💚 compile 15m 29s the patch passed
+1 💚 cc 15m 29s the patch passed
+1 💚 golang 15m 29s the patch passed
+1 💚 javac 15m 29s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 1m 16s the patch passed
+1 💚 mvnsite 1m 48s the patch passed
+1 💚 javadoc 0m 58s the patch passed
+1 💚 spotbugs 2m 48s the patch passed
+1 💚 shadedclient 35m 26s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 21m 8s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
+1 💚 asflicense 1m 7s The patch does not generate ASF License warnings.
227m 11s
Reason Tests
Failed junit tests hadoop.service.launcher.TestServiceInterruptHandling
hadoop.crypto.TestCryptoCodec
hadoop.crypto.TestCryptoStreamsWithOpensslSm4CtrCryptoCodec
Subsystem Report/Notes
Docker ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/2/artifact/out/Dockerfile
GITHUB PR #6813
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets cc golang
uname Linux 262f84e34d74 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 757cc1f
Default Java Red Hat, Inc.-1.8.0_412-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/2/testReport/
Max. process+thread count 3151 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/2/console
versions git=2.9.5 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@zhengchenyu
Copy link
Contributor Author

The reported error "Doesn't support SM4 CTR." seems to be not related to this PR. Perhaps the compiler environment has changed?

@zhengchenyu zhengchenyu requested a review from ZanderXu May 20, 2024 02:17
@zhengchenyu
Copy link
Contributor Author

@ayushtkn @tasanuma @drankye @sodonnel @cmccabe
Do you have time to help review it?

@zhengchenyu zhengchenyu reopened this Jul 31, 2024
@zhengchenyu zhengchenyu closed this Aug 2, 2024
@zhengchenyu zhengchenyu reopened this Aug 2, 2024
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ docker 16m 47s Docker failed to build run-specific yetus/hadoop:tp-14316}.
Subsystem Report/Notes
GITHUB PR #6813
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/3/console
versions git=2.34.1
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@zhengchenyu
Copy link
Contributor Author

This ci is blocked by #6973, wait for that pr.

@zhengchenyu zhengchenyu closed this Aug 6, 2024
@zhengchenyu zhengchenyu reopened this Aug 6, 2024
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 37m 52s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 detsecrets 0m 1s detect-secrets was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 45m 44s trunk passed
+1 💚 compile 16m 22s trunk passed
+1 💚 checkstyle 1m 21s trunk passed
+1 💚 mvnsite 1m 48s trunk passed
+1 💚 javadoc 1m 4s trunk passed
+1 💚 spotbugs 2m 41s trunk passed
+1 💚 shadedclient 35m 49s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 36m 14s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+1 💚 mvninstall 1m 0s the patch passed
+1 💚 compile 15m 15s the patch passed
+1 💚 cc 15m 15s the patch passed
+1 💚 golang 15m 15s the patch passed
+1 💚 javac 15m 15s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 1m 17s the patch passed
+1 💚 mvnsite 1m 45s the patch passed
+1 💚 javadoc 0m 59s the patch passed
+1 💚 spotbugs 2m 50s the patch passed
+1 💚 shadedclient 35m 34s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 19m 51s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
+1 💚 asflicense 1m 6s The patch does not generate ASF License warnings.
221m 38s
Reason Tests
Failed junit tests hadoop.service.launcher.TestServiceInterruptHandling
hadoop.crypto.TestCryptoCodec
hadoop.crypto.TestCryptoStreamsWithOpensslSm4CtrCryptoCodec
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/5/artifact/out/Dockerfile
GITHUB PR #6813
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets cc golang
uname Linux dc4af6e408f3 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / f63adb3
Default Java Red Hat, Inc.-1.8.0_412-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/5/testReport/
Max. process+thread count 3152 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/5/console
versions git=2.9.5 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 54s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 45m 3s trunk passed
+1 💚 compile 16m 12s trunk passed
+1 💚 checkstyle 1m 22s trunk passed
+1 💚 mvnsite 1m 47s trunk passed
+1 💚 javadoc 1m 6s trunk passed
+1 💚 spotbugs 2m 44s trunk passed
+1 💚 shadedclient 35m 31s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 35m 55s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+1 💚 mvninstall 0m 57s the patch passed
+1 💚 compile 15m 40s the patch passed
+1 💚 cc 15m 40s the patch passed
+1 💚 golang 15m 40s the patch passed
+1 💚 javac 15m 40s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 1m 17s the patch passed
+1 💚 mvnsite 1m 45s the patch passed
+1 💚 javadoc 0m 58s the patch passed
+1 💚 spotbugs 2m 49s the patch passed
+1 💚 shadedclient 35m 43s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 19m 53s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
+1 💚 asflicense 1m 6s The patch does not generate ASF License warnings.
184m 11s
Reason Tests
Failed junit tests hadoop.service.launcher.TestServiceInterruptHandling
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/6/artifact/out/Dockerfile
GITHUB PR #6813
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets cc golang
uname Linux c0dc83671a84 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / a5d8a52
Default Java Red Hat, Inc.-1.8.0_412-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/6/testReport/
Max. process+thread count 3152 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/6/console
versions git=2.9.5 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 57s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 47m 16s trunk passed
+1 💚 compile 16m 58s trunk passed
+1 💚 checkstyle 1m 14s trunk passed
+1 💚 mvnsite 1m 45s trunk passed
+1 💚 javadoc 1m 0s trunk passed
+1 💚 spotbugs 2m 41s trunk passed
+1 💚 shadedclient 40m 32s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 40m 58s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+1 💚 mvninstall 1m 5s the patch passed
+1 💚 compile 17m 44s the patch passed
+1 💚 cc 17m 44s the patch passed
+1 💚 golang 17m 44s the patch passed
+1 💚 javac 17m 44s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 1m 20s the patch passed
+1 💚 mvnsite 1m 49s the patch passed
+1 💚 javadoc 0m 56s the patch passed
+1 💚 spotbugs 3m 2s the patch passed
+1 💚 shadedclient 41m 15s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 20m 44s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
+1 💚 asflicense 1m 8s The patch does not generate ASF License warnings.
200m 39s
Reason Tests
Failed junit tests hadoop.service.launcher.TestServiceInterruptHandling
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/7/artifact/out/Dockerfile
GITHUB PR #6813
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets cc golang
uname Linux b44273253813 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 74a1424
Default Java Red Hat, Inc.-1.8.0_412-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/7/testReport/
Max. process+thread count 1252 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/7/console
versions git=2.9.5 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@Hexiaoqiao Hexiaoqiao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhengchenyu Thanks for your report and PR. LGTM. One nit thing, please check the report by Yetus if failed test is relate to this changes. Thanks again.

@zhengchenyu
Copy link
Contributor Author

@zhengchenyu Thanks for your report and PR. LGTM. One nit thing, please check the report by Yetus if failed test is relate to this changes. Thanks again.

@Hexiaoqiao the failed unit test is not related to this issue. I have submit another pr-6987 to fix the unit test. I will rerun this ci until pr-6987 is merged to master.

Copy link
Contributor

@Hexiaoqiao Hexiaoqiao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. cc @zhangshuyan0 Please check again, and checkin if no more other concerns. Thanks.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 37m 23s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 49m 38s trunk passed
+1 💚 compile 20m 43s trunk passed
+1 💚 checkstyle 1m 25s trunk passed
-1 ❌ mvnsite 0m 33s /branch-mvnsite-hadoop-common-project_hadoop-common.txt hadoop-common in trunk failed.
-1 ❌ javadoc 0m 37s /branch-javadoc-hadoop-common-project_hadoop-common.txt hadoop-common in trunk failed.
+1 💚 spotbugs 3m 5s trunk passed
-1 ❌ shadedclient 45m 51s branch has errors when building and testing our client artifacts.
-0 ⚠️ patch 46m 26s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
-1 ❌ mvninstall 0m 24s /patch-mvninstall-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
-1 ❌ compile 0m 24s /patch-compile-root.txt root in the patch failed.
-1 ❌ cc 0m 24s /patch-compile-root.txt root in the patch failed.
-1 ❌ golang 0m 24s /patch-compile-root.txt root in the patch failed.
-1 ❌ javac 0m 24s /patch-compile-root.txt root in the patch failed.
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 0m 22s /buildtool-patch-checkstyle-hadoop-common-project_hadoop-common.txt The patch fails to run checkstyle in hadoop-common
-1 ❌ mvnsite 0m 24s /patch-mvnsite-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
-1 ❌ javadoc 0m 24s /patch-javadoc-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
-1 ❌ spotbugs 0m 23s /patch-spotbugs-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
-1 ❌ shadedclient 5m 6s patch has errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 6m 22s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
+0 🆗 asflicense 0m 24s ASF License check generated no output?
170m 33s
Reason Tests
Failed junit tests hadoop.fs.viewfs.TestViewFileSystemDelegation
hadoop.fs.contract.localfs.TestLocalFSContractCreate
hadoop.fs.shell.TestAclCommands
hadoop.crypto.key.TestKeyProviderCryptoExtension
hadoop.fs.contract.localfs.TestLocalFSContractGetEnclosingRoot
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/8/artifact/out/Dockerfile
GITHUB PR #6813
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets cc golang
uname Linux bd77a5a7ae10 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 1c4e33d
Default Java Red Hat, Inc.-1.8.0_412-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/8/testReport/
Max. process+thread count 288 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/8/console
versions git=2.9.5 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 11s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 detsecrets 0m 1s detect-secrets was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
-1 ❌ mvninstall 0m 24s /branch-mvninstall-root.txt root in trunk failed.
-1 ❌ compile 0m 24s /branch-compile-root.txt root in trunk failed.
-0 ⚠️ checkstyle 0m 21s /buildtool-branch-checkstyle-hadoop-common-project_hadoop-common.txt The patch fails to run checkstyle in hadoop-common
-1 ❌ mvnsite 0m 23s /branch-mvnsite-hadoop-common-project_hadoop-common.txt hadoop-common in trunk failed.
-1 ❌ javadoc 0m 23s /branch-javadoc-hadoop-common-project_hadoop-common.txt hadoop-common in trunk failed.
-1 ❌ spotbugs 0m 25s /branch-spotbugs-hadoop-common-project_hadoop-common.txt hadoop-common in trunk failed.
+1 💚 shadedclient 2m 24s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 2m 48s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
-1 ❌ mvninstall 0m 24s /patch-mvninstall-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
-1 ❌ compile 0m 23s /patch-compile-root.txt root in the patch failed.
-1 ❌ cc 0m 23s /patch-compile-root.txt root in the patch failed.
-1 ❌ golang 0m 23s /patch-compile-root.txt root in the patch failed.
-1 ❌ javac 0m 23s /patch-compile-root.txt root in the patch failed.
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 0m 22s /buildtool-patch-checkstyle-hadoop-common-project_hadoop-common.txt The patch fails to run checkstyle in hadoop-common
-1 ❌ mvnsite 0m 24s /patch-mvnsite-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
-1 ❌ javadoc 0m 25s /patch-javadoc-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
-1 ❌ spotbugs 0m 24s /patch-spotbugs-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
+1 💚 shadedclient 3m 30s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 0m 24s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
+0 🆗 asflicense 0m 24s ASF License check generated no output?
11m 14s
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/9/artifact/out/Dockerfile
GITHUB PR #6813
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets cc golang
uname Linux dc187cd7f8c0 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 1a0f08a
Default Java Red Hat, Inc.-1.8.0_412-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/9/testReport/
Max. process+thread count 32 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/9/console
versions git=2.9.5 maven=3.6.3
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 11s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
-1 ❌ mvninstall 12m 14s /branch-mvninstall-root.txt root in trunk failed.
-1 ❌ compile 0m 26s /branch-compile-root.txt root in trunk failed.
-0 ⚠️ checkstyle 0m 24s /buildtool-branch-checkstyle-hadoop-common-project_hadoop-common.txt The patch fails to run checkstyle in hadoop-common
-1 ❌ mvnsite 0m 25s /branch-mvnsite-hadoop-common-project_hadoop-common.txt hadoop-common in trunk failed.
-1 ❌ javadoc 0m 38s /branch-javadoc-hadoop-common-project_hadoop-common.txt hadoop-common in trunk failed.
-1 ❌ spotbugs 0m 25s /branch-spotbugs-hadoop-common-project_hadoop-common.txt hadoop-common in trunk failed.
+1 💚 shadedclient 2m 52s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 3m 19s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
-1 ❌ mvninstall 0m 24s /patch-mvninstall-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
-1 ❌ compile 0m 24s /patch-compile-root.txt root in the patch failed.
-1 ❌ cc 0m 24s /patch-compile-root.txt root in the patch failed.
-1 ❌ golang 0m 24s /patch-compile-root.txt root in the patch failed.
-1 ❌ javac 0m 24s /patch-compile-root.txt root in the patch failed.
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 0m 22s /buildtool-patch-checkstyle-hadoop-common-project_hadoop-common.txt The patch fails to run checkstyle in hadoop-common
-1 ❌ mvnsite 0m 24s /patch-mvnsite-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
-1 ❌ javadoc 0m 24s /patch-javadoc-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
-1 ❌ spotbugs 0m 23s /patch-spotbugs-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
+1 💚 shadedclient 3m 32s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 0m 24s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch failed.
+0 🆗 asflicense 0m 17s ASF License check generated no output?
23m 29s
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/10/artifact/out/Dockerfile
GITHUB PR #6813
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets cc golang
uname Linux 9f54ac9f52f0 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / cfb4d02
Default Java Red Hat, Inc.-1.8.0_412-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/10/testReport/
Max. process+thread count 57 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/10/console
versions git=2.9.5 maven=3.6.3
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@Hexiaoqiao
Copy link
Contributor

@zhengchenyu Please check the Yetus report, We need to get one green result before check in. Thanks.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 52s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
+1 💚 mvninstall 45m 27s trunk passed
+1 💚 compile 16m 20s trunk passed
+1 💚 checkstyle 1m 21s trunk passed
+1 💚 mvnsite 1m 50s trunk passed
+1 💚 javadoc 1m 6s trunk passed
+1 💚 spotbugs 2m 42s trunk passed
+1 💚 shadedclient 35m 12s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 35m 38s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+1 💚 mvninstall 0m 59s the patch passed
+1 💚 compile 15m 40s the patch passed
+1 💚 cc 15m 40s the patch passed
+1 💚 golang 15m 40s the patch passed
+1 💚 javac 15m 40s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 1m 17s the patch passed
+1 💚 mvnsite 1m 48s the patch passed
+1 💚 javadoc 0m 59s the patch passed
+1 💚 spotbugs 2m 52s the patch passed
+1 💚 shadedclient 35m 41s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 20m 15s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
+1 💚 asflicense 1m 8s The patch does not generate ASF License warnings.
184m 34s
Reason Tests
Failed junit tests hadoop.service.launcher.TestServiceInterruptHandling
Subsystem Report/Notes
Docker ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/11/artifact/out/Dockerfile
GITHUB PR #6813
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets cc golang
uname Linux 8819f341e13b 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / ab9472d
Default Java Red Hat, Inc.-1.8.0_412-b08
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/11/testReport/
Max. process+thread count 3151 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6813/11/console
versions git=2.9.5 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@zhangshuyan0 zhangshuyan0 merged commit e5b76dc into apache:trunk Aug 19, 2024
1 of 2 checks passed
@zhangshuyan0
Copy link
Contributor

The failed tests are not related to this PR. Committed to trunk. Thanks for your contribution @zhengchenyu @Hexiaoqiao @slfan1989 @haiyang1987 @ZanderXu .

@zhengchenyu zhengchenyu deleted the HDFS-17521 branch August 19, 2024 05:53
zhengchenyu added a commit to zhengchenyu/hadoop that referenced this pull request Aug 19, 2024
…dex order (apache#6813).  Contributed by zhengchenyu."

This reverts commit e5b76dc.
@zhengchenyu
Copy link
Contributor Author

zhengchenyu commented Aug 20, 2024

@zhangshuyan0 @Hexiaoqiao @slfan1989 @haiyang1987 @ZanderXu
Thanks for your review. Even though the pr is merged, the failed test still exists. And I have verified through the pr test that the failed unit test is not caused by this PR. When there are changes to the hadoop-common native code, docker ci "precommit-run CentOS 7" will be triggered, then the fail unit test was reproduced. Maybe some other component was changed, we just found this by this pr.

Note: If there are no changes to the hadoop-common native code, docker ci "precommit-run CentOS 7" will be ignored. The failed unit test will not be reproduced.

It is strange! I found that only "precommit-run CentOS 7" will reproduce the failures of TestServiceInterruptHandling:: testRegisterAndRaise. I can not reproduce this in my environment, even though my environment have been started by start-build-env.sh. I will try to fix it in another pr.

KeeProMise pushed a commit to KeeProMise/hadoop that referenced this pull request Sep 9, 2024
apache#6813).  Contributed by zhengchenyu.

Reviewed-by: He Xiaoqiao <[email protected]>
Signed-off-by: Shuyan Zhang <[email protected]>
Hexiaoqiao pushed a commit to Hexiaoqiao/hadoop that referenced this pull request Sep 12, 2024
apache#6813).  Contributed by zhengchenyu.

Reviewed-by: He Xiaoqiao <[email protected]>
Signed-off-by: Shuyan Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants