hadoop
hadoop copied to clipboard
HADOOP-19043. S3A: Regression: ITestS3AOpenCost fails on prefetch test runs
This is actually trickier than it seems as we will need to go deep into the implementation of caching.
Specifically: the prefetcher knows the file length and if you open a file shorter than that, but less than one block, the read is considered a failure and the whole block is skipped, so read() of the nominally in-range data returns -1.
This fix has to be considered a PoC and should be combined with the other big PR for prefetching, #5832 as that is where changes should go.
Here is just test tuning and some differentiation of channel problems from other EOFs.
How was this patch tested?
mvn verify -Dtest=none -Dit.test=ITestS3AOpenCost -Dprefetch
For code changes:
- [X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
- [ ] If applicable, have you updated the
LICENSE
,LICENSE-binary
,NOTICE-binary
files?
:confetti_ball: +1 overall
Vote | Subsystem | Runtime | Logfile | Comment |
---|---|---|---|---|
+0 :ok: | reexec | 0m 52s | Docker mode activated. | |
_ Prechecks _ | ||||
+1 :green_heart: | dupname | 0m 0s | No case conflicting files found. | |
+0 :ok: | codespell | 0m 1s | codespell was not available. | |
+0 :ok: | detsecrets | 0m 1s | detect-secrets was not available. | |
+1 :green_heart: | @author | 0m 0s | The patch does not contain any @author tags. | |
+1 :green_heart: | test4tests | 0m 0s | The patch appears to include 1 new or modified test files. | |
_ trunk Compile Tests _ | ||||
+1 :green_heart: | mvninstall | 46m 27s | trunk passed | |
+1 :green_heart: | compile | 0m 45s | trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 | |
+1 :green_heart: | compile | 0m 33s | trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08 | |
+1 :green_heart: | checkstyle | 0m 31s | trunk passed | |
+1 :green_heart: | mvnsite | 0m 41s | trunk passed | |
+1 :green_heart: | javadoc | 0m 27s | trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 | |
+1 :green_heart: | javadoc | 0m 32s | trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08 | |
+1 :green_heart: | spotbugs | 1m 8s | trunk passed | |
+1 :green_heart: | shadedclient | 38m 7s | branch has no errors when building and testing our client artifacts. | |
_ Patch Compile Tests _ | ||||
+1 :green_heart: | mvninstall | 0m 29s | the patch passed | |
+1 :green_heart: | compile | 0m 34s | the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 | |
+1 :green_heart: | javac | 0m 34s | the patch passed | |
+1 :green_heart: | compile | 0m 26s | the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08 | |
+1 :green_heart: | javac | 0m 26s | the patch passed | |
+1 :green_heart: | blanks | 0m 0s | The patch has no blanks issues. | |
-0 :warning: | checkstyle | 0m 20s | /results-checkstyle-hadoop-tools_hadoop-aws.txt | hadoop-tools/hadoop-aws: The patch generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3) |
+1 :green_heart: | mvnsite | 0m 32s | the patch passed | |
+1 :green_heart: | javadoc | 0m 14s | the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 | |
+1 :green_heart: | javadoc | 0m 23s | the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08 | |
+1 :green_heart: | spotbugs | 1m 8s | the patch passed | |
+1 :green_heart: | shadedclient | 39m 30s | patch has no errors when building and testing our client artifacts. | |
_ Other Tests _ | ||||
+1 :green_heart: | unit | 3m 17s | hadoop-aws in the patch passed. | |
+1 :green_heart: | asflicense | 0m 34s | The patch does not generate ASF License warnings. | |
141m 27s |
Subsystem | Report/Notes |
---|---|
Docker | ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6460/1/artifact/out/Dockerfile |
GITHUB PR | https://github.com/apache/hadoop/pull/6460 |
Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
uname | Linux 980b63186118 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux |
Build tool | maven |
Personality | dev-support/bin/hadoop.sh |
git revision | trunk / 904513fa7e7155aa58ffc69e3fa9fd7058990983 |
Default Java | Private Build-1.8.0_392-8u392-ga-1~20.04-b08 |
Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08 |
Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6460/1/testReport/ |
Max. process+thread count | 577 (vs. ulimit of 5500) |
modules | C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws |
Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6460/1/console |
versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 |
Powered by | Apache Yetus 0.14.0 https://yetus.apache.org |
This message was automatically generated.