HADOOP-19793. S3A: use long for file size in S3A content providers, data blocks#8225
HADOOP-19793. S3A: use long for file size in S3A content providers, data blocks#8225ajfabbri wants to merge 4 commits intoapache:trunkfrom
Conversation
|
💔 -1 overall
This message was automatically generated. |
bf2c793 to
e179121
Compare
|
💔 -1 overall
This message was automatically generated. |
|
Majority of CI failures due to HADOOP-19790 |
e179121 to
d0403b1
Compare
|
💔 -1 overall
This message was automatically generated. |
d0403b1 to
1e1c09c
Compare
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
steveloughran
left a comment
There was a problem hiding this comment.
+1
all looks good, and I reviewed that SingleFilePendingCommit file size too.
Regarding test failures
#2 may mean you aren't set up to create a session for the target user/account. I can help there
#3 things have been playing up with the MR cluster tests since the move to JUnit 5...getting anything working was a challenge enough.
|
fix the spotbugs by addressing overrideable methods in verify, or make SinglePendingCommit final. |
|
💔 -1 overall
This message was automatically generated. |
587e5de to
eed4c14
Compare
|
Experimental Warnings Code Warning TEST Unknown bug pattern MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT in o.a.h.fs.s3a.commit.files.PendingSet.readObject(ObjectInputStream) Bug type MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT (click for details) In class o.a.h.fs.s3a.commit.files.PendingSet In method o.a.h.fs.s3a.commit.files.PendingSet.readObject(ObjectInputStream) Called method o.a.h.fs.s3a.commit.files.PendingSet.validate() At PendingSet.java:[line 166] TEST Unknown bug pattern MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT in o.a.h.fs.s3a.commit.files.SinglePendingCommit.readObject(ObjectInputStream) Bug type MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT (click for details) In class o.a.h.fs.s3a.commit.files.SinglePendingCommit In method o.a.h.fs.s3a.commit.files.SinglePendingCommit.readObject(ObjectInputStream) Called method o.a.h.fs.s3a.commit.files.SinglePendingCommit.validate() At SinglePendingCommit.java:[line 201]
Despite changing validate() to final, still get this warning: Unknown bug pattern MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT in org.apache.hadoop.fs.s3a.commit.files.SinglePendingCommit.readObject(ObjectInputStream) At SinglePendingCommit.java:org.apache.hadoop.fs.s3a.commit.files.SinglePendingCommit.readObject(ObjectInputStream) At SinglePendingCommit.java:[line 201] try making the whole class final then.
I already fixed it but CI has been stuck for over 24 hours! https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8225/8/ |
|
💔 -1 overall
This message was automatically generated. |
eed4c14 to
f94a921
Compare
|
Force-push: rebase on latest trunk. |
Description of PR
From HADOOP-19793:
How was this patch tested?
Tested that large scale test with localstack S3.
Ran all integration tests locally against S3 in us-west-2. All passed except:
ITestS3ACannedACLs>AbstractS3ATestBase.setup:111->AbstractFSContractTestBase.setup:197->AbstractFSContractTestBase.mkdirs:355 » ... S3Exception:The bucket does not allow ACLsITestS3ATemporaryCredentials.testSessionTokenPropagation:202getFileStatus on s3a://fabbri-s3a/job-00-fork-0004/test/testSTS/c20306d0-3eca-4264-b210-3d7beb8c80c7: software.amazon.awssdk.services.s3.model.S3Exception: Forbidden (Service: S3, Status Code: 403, Request ID: 6GV4SMMX9EXVDB0J, Extended Request ID: nB4bQ+CHn+Y2BiR4lLSgLtHyWVd05eerIXrsNDhV9Z0o9I/KZ+N8VD3khlSsiJvh0HkuCjDMtB4=):nullThe first failure seems OK given I haven't enabled bucket ACLs.
I'm not sure what the problem is with 2 & 3.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?AI Tooling
If an AI tool was used:
Nopewhere is the name of the AI tool used.
https://www.apache.org/legal/generative-tooling.html