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-17409. Remove s3guard from S3A module #3534

Merged

Conversation

steveloughran
Copy link
Contributor

@steveloughran steveloughran commented Oct 8, 2021

Description of PR

  • Remove all S3Guard code from S3A production and test modules
  • CLI entry point to remove obsolete commands, downgrading to warn and fail
  • FS to reject instantiation if metastore set to anything other than null store

Note: this patch retains the hadoop s3guard command.
This is because it is a broadly documented, used in scripts and tests. We will have to retain it.
We can add another entry point "s3a" which would invoke the same operations.
However, we still get to maintain the s3guard command and will then be left with the
issue that you can only use that new command on more recent versions of Hadoop.

How was this patch tested?

deleting tests until everything worked again

For code changes:

  • 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?

TODO

  • all tests to complete
  • Remove all tests related to delayed consistency, + a lot of remote file changed
  • remove whenGuarded() clauses from cost tests; withWhenRaw() to become simply with()
  • remove metadata reconciliation from Listing
  • remove attempts to update during rename (RenameTracker)
  • delete code to not update s3guard, especially on partial bulk delete failure (+tests)
  • s3guard retry policy references/uses (open, copy...)
  • Docs
  • AssumedRole rules & docs
  • Remove the inconsistent client? wontfix, but only retains throttling events

@steveloughran
Copy link
Contributor Author

@mehakmeet @mukund-thakur @bogthe @bgaborg

going to be a big patch, but it removes everything.

Current PR turns s3guard off, but doesn't yet remove the (no always no-op API calls) from the listing/delete/rename code.

@apache apache deleted a comment from hadoop-yetus Oct 14, 2021
@steveloughran steveloughran force-pushed the s3/HADOOP-17409-remove-s3guard branch from 617c02c to 2d6644a Compare October 20, 2021 11:34
Copy link
Contributor

@bogthe bogthe left a comment

Choose a reason for hiding this comment

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

Great effort in doing the removal 👏 🙇

Added a few small comments. Also ran the tests + integration tests and they finished in ~5 mins 🎊 (on ubuntu).

@@ -422,7 +315,7 @@ public void checkBasicFileOperations() throws Throwable {

readonlyFS.getFileStatus(emptyDir);
// now look at a file; the outcome depends on the mode.
accessDeniedIf(!guardedInAuthMode, () ->
accessDeniedIf(!false, () ->
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: !false => true

Copy link
Contributor Author

Choose a reason for hiding this comment

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

came from me fixing the calls to be true/false and then inlining; can make clause non-conditional

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixedl and updated the comment above

@steveloughran steveloughran force-pushed the s3/HADOOP-17409-remove-s3guard branch 2 times, most recently from 2dd5c19 to ce7e4ac Compare November 9, 2021 11:38
@apache apache deleted a comment from hadoop-yetus Nov 15, 2021
@apache apache deleted a comment from hadoop-yetus Nov 15, 2021
@steveloughran
Copy link
Contributor Author

testing s3 london, all good.

removed ITestPartialRenamesDeletes test which was failing as the output of the processing of the multi object delete exception didn't match expectations. We don't use that feature in production any more, once the need to update the s3guard tables goes.

Copy link
Contributor

@mehakmeet mehakmeet left a comment

Choose a reason for hiding this comment

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

Doing an initial review.
I see that you have removed MultiObjectDeleteSupport class. Was class used solely for S3Guard? I still see some references in S3AUtils which breaks the compilation of these changes when trying to build.

@steveloughran
Copy link
Contributor Author

in RenameOperation & DeleteOperatoin, move off guava preconditions at the same time; fix imports.

@apache apache deleted a comment from hadoop-yetus Nov 21, 2021
@steveloughran steveloughran force-pushed the s3/HADOOP-17409-remove-s3guard branch from 2eced9d to d174cba Compare November 21, 2021 12:31
@apache apache deleted a comment from hadoop-yetus Nov 21, 2021
@steveloughran steveloughran force-pushed the s3/HADOOP-17409-remove-s3guard branch from d174cba to adaa03e Compare November 21, 2021 17:44
@steveloughran
Copy link
Contributor Author

spotbugs is #3630;
compilation error is from the patch chain not deleting a file. squashing to see what that does
checkstyles are all valid; fixed

@steveloughran
Copy link
Contributor Author

minor spotbugs to fix up

@steveloughran steveloughran force-pushed the s3/HADOOP-17409-remove-s3guard branch from 1490e29 to 85eb597 Compare November 23, 2021 11:59
@steveloughran
Copy link
Contributor Author

HBoss contains references to local metastore & ability to set it in
hadoop-testutils/src/main/java/org/apache/hadoop/hbase/oss/EmbeddedS3.java

maybe we should make that a no-op. or at least fix up hboss to never use it

@apache apache deleted a comment from hadoop-yetus Nov 23, 2021
@apache apache deleted a comment from hadoop-yetus Nov 23, 2021
@apache apache deleted a comment from hadoop-yetus Nov 23, 2021
@apache apache deleted a comment from hadoop-yetus Nov 23, 2021
Copy link
Contributor

@mukund-thakur mukund-thakur left a comment

Choose a reason for hiding this comment

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

Did some initial review. Will get back to this again. `

@@ -343,7 +343,7 @@ stores pretend that they are a FileSystem, a FileSystem with the same
features and operations as HDFS. This is —ultimately—a pretence:
they have different characteristics and occasionally the illusion fails.

1. **Consistency**. Object stores are generally *Eventually Consistent*: it
1. **Consistency**. Object mqy be *Eventually Consistent*: it
Copy link
Contributor

Choose a reason for hiding this comment

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

nit : typo mqy -> may

@apache apache deleted a comment from hadoop-yetus Jan 11, 2022
@steveloughran
Copy link
Contributor Author

hboss is just using the config options to switch to local s3guard in tests. we leave the options alone

but: should we treat asking for local as a no op? because they call it to get a consistent s3 store...there's no risk of ddb tables corrupting the view of other processes

@steveloughran
Copy link
Contributor Author

test run s3 london. -Dparallel-tests -DtestsThreadCount=6 -Dmarkers=delete -Dscale
one failure from DT tests as I'd turned session tokens on there, otherwise all good. filing a jira to get the failing test to clear more options

[ERROR] Failures: 
[ERROR]   ITestDelegatedMRJob.testJobSubmissionCollectsTokens:303->AbstractDelegationIT.lookupToken:70->Assert.assertEquals:120->Assert.failNotEquals:835->Assert.fail:89 Kind of token Kind: S3ADelegationToken/Session, Service: s3a://stevel-london, Ident: (S3ATokenIdentifier{S3ADelegationToken/Session; uri=s3a://stevel-london; timestamp=1641943367014; renewer=stevel; encryption=SSE-KMS; df39af66-6a55-4d84-9ce0-7be719f58087; Created on stevel-mbp1376/127.0.0.1 at time 2022-01-11T23:22:46.805Z.}; session credentials, expiry 2022-01-12T11:22:47Z; (valid)) expected:<S3ADelegationToken/Full> but was:<S3ADelegationToken/Session>
[ERROR]   ITestDelegatedMRJob.testJobSubmissionCollectsTokens:303->AbstractDelegationIT.lookupToken:70->Assert.assertEquals:120->Assert.failNotEquals:835->Assert.fail:89 Kind of token Kind: S3ADelegationToken/Session, Service: s3a://stevel-london, Ident: (S3ATokenIdentifier{S3ADelegationToken/Session; uri=s3a://stevel-london; timestamp=1641943383624; renewer=stevel; encryption=SSE-KMS; fcf63971-7249-4339-92c1-89a508fee7d2; Created on stevel-mbp1376/127.0.0.1 at time 2022-01-11T23:23:03.247Z.}; session credentials, expiry 2022-01-12T11:23:03Z; (valid)) expected:<S3ADelegationToken/Role> but was:<S3ADelegationToken/Session>

@mehakmeet
Copy link
Contributor

+1 pending the yetus checks, tested on non-CSE and CSE test suite, everything went fine and getting the correct "not supported" error when turning s3guard on.
One suggestion would be maybe referencing this Jira ticket in s3guard.md where we are explaining that it was removed?

@steveloughran steveloughran force-pushed the s3/HADOOP-17409-remove-s3guard branch from a94e0e1 to ac185db Compare January 13, 2022 17:06
Copy link

@bgaborg bgaborg left a comment

Choose a reason for hiding this comment

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

Thanks for this patch @steveloughran, LGTM.
Well, it's really the end of an era here - I remember we worked a lot to stabilize this. No more support needed for "out-of-band" operations :)

@apache apache deleted a comment from hadoop-yetus Jan 17, 2022
@apache apache deleted a comment from hadoop-yetus Jan 17, 2022
@steveloughran
Copy link
Contributor Author

thanks. realised there's one thing left -an entry in troubleshooting about the new error message. building a release, generating the real output and adding. this is doc only change so shouldn't force a new review.

time to "knife the baby" , as bill gates said to steve jobs

Change-Id: I773848d0386d44f78dcca2126372e1ec734fce5e

HADOOP-17409. Aggressive Cull of S3Guard from test code

* obsolete tests cut completely
* cost tests which are parameterized have had their scope cut down
to keep/delete markers only.
* some tests have had the guarded flags fixed to true/false, then inlined, then removed the branches which are no longer taken.

Change-Id: I871a41b009a8abf1335211556c48ca220ae35b44

HADOOP-17409. remove inconsistency expectations in code

* now unused classes
* references to exceptions, in text
* assumed role tests don't ask for DDB perms
* All cost tests only test raw values

Scale test down to 20 min

Change-Id: Ia86ace7e25206f4885fcbb7943d925f2da31a3fa

HADOOP-17409. remove S3Guard from docs

Retaining some references.

Change-Id: I97b68273ce84d440ebbac355d2dc2646b617ff33

HADOOP-17409. s3guard. continue purge

most classes removed completely
source and text scanned for s3guard and text "consistent";
removed where needed.

a lot of javadoc fixup here.

probably lots of unused import failures.

Change-Id: Ibe94b11666870bd53c75bc6502ba4c6a9f4e99a7

HADOOP-17409. s3guard removal

* remove references to dynamodb, metastore from code
* core-default.xml stripped of s3guard revs
* javadocs and comments updated
* MultiObjectDeleteSupport cut

MultiObjectDeleteSupport was there to ensure that the metastore
was correctly updated after partial failure of delete.
no metastore: no need for class, or for tests, which
were a bit flaky, especially in ITestPartialRenamesDeletes.

Change-Id: Ie88442268bb2fd39f0c8e3587eac20c55a222d8c

HADOOP-17409. fix build, some imports.

cut a lot more of the InconsistentClient; all it does now is simulate throttling.
reinstate MultiObjectDeleteSupport, but only the exception translation.

Change-Id: I55a94780ec9e27136ad6ca567f917feca6446609

HADOOP-17409. checkstyles

Change-Id: I4a4800b789671598fe979bab3de00bde165976dd

HADOOP-17409. more doc/comment purging

+ update all bucket-info examples in docs.
+ scan for references to consistent/consistency across project

Change-Id: Icc43dbaf7d55c2afb697f2155cd940a98684c793
Change-Id: I33eced2a8635c9743a939c73274c048fea49e3ad
review comments, inc reverting one change
purge text/comment references to auth and 'mode'

Change-Id: I8b2969299b66bfae0526c37bb1a8c4c13f773e66
Change-Id: Ib13bc9b3320fd62935aa1fd3dddfc0038d0f6150
if an application (such as a test suite) explicitly requested the local metadata store,
a warning is printed and the FS initialization continues without a metastore.

This is for compatibility with applications/libraries which set this to be
guaranteed a consistent store view within their test process.
It is no longer needed -and so downgraded to a no-op.

updated docs, including discussion on increased S3 IO

Change-Id: Ifacb2d9688d1852cfded17cd1ff0eb0a3200425c
…UCCESS file

Change-Id: I45001a6bdb0e59e5a37da21f31b033bb922b5a0a
getting rid of the tombstone reconciliation really simplifies list processing

Change-Id: I2cb64e9a710f846e0c451dbcc241e924ce9189cc
Change-Id: I5d667b669890d9c150636b397e897aede3372d5e
@steveloughran steveloughran force-pushed the s3/HADOOP-17409-remove-s3guard branch from b7fed11 to 4cfc07e Compare January 17, 2022 13:12
@steveloughran
Copy link
Contributor Author

rebased to trunk to line everything up for a merge and to retest locally first

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 13s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 3s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 markdownlint 0m 1s markdownlint was not available.
+0 🆗 shelldocs 0m 1s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 110 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 12m 57s Maven dependency ordering for branch
+1 💚 mvninstall 24m 33s trunk passed
+1 💚 compile 24m 25s trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚 compile 20m 58s trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚 checkstyle 3m 58s trunk passed
+1 💚 mvnsite 3m 53s trunk passed
+1 💚 javadoc 2m 50s trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚 javadoc 3m 26s trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗 spotbugs 0m 32s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 23m 52s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 23s Maven dependency ordering for patch
+1 💚 mvninstall 2m 23s the patch passed
+1 💚 compile 23m 43s the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
-1 ❌ javac 23m 43s /results-compile-javac-root-jdkUbuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04.txt root-jdkUbuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 generated 1 new + 1813 unchanged - 51 fixed = 1814 total (was 1864)
+1 💚 compile 20m 51s the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
-1 ❌ javac 20m 51s /results-compile-javac-root-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txt root-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu120.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu120.04-b07 generated 1 new + 1688 unchanged - 51 fixed = 1689 total (was 1739)
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 3m 50s root: The patch generated 0 new + 72 unchanged - 83 fixed = 72 total (was 155)
+1 💚 mvnsite 3m 44s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 xml 0m 6s The patch has no ill-formed XML file.
+1 💚 javadoc 2m 45s the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚 javadoc 0m 28s hadoop-project in the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.
+1 💚 javadoc 1m 39s hadoop-common in the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.
+1 💚 javadoc 0m 41s hadoop-tools_hadoop-aws-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu120.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu120.04-b07 generated 0 new + 39 unchanged - 23 fixed = 39 total (was 62)
+1 💚 javadoc 0m 37s hadoop-azure in the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.
+0 🆗 spotbugs 0m 28s hadoop-project has no data from spotbugs
+1 💚 shadedclient 24m 6s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 28s hadoop-project in the patch passed.
-1 ❌ unit 18m 1s /patch-unit-hadoop-common-project_hadoop-common.txt hadoop-common in the patch passed.
+1 💚 unit 2m 18s hadoop-aws in the patch passed.
+1 💚 unit 2m 21s hadoop-azure in the patch passed.
+1 💚 asflicense 0m 51s The patch does not generate ASF License warnings.
246m 40s
Reason Tests
Failed junit tests hadoop.ipc.TestIPC
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3534/19/artifact/out/Dockerfile
GITHUB PR #3534
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml markdownlint spotbugs checkstyle shellcheck shelldocs
uname Linux 26ad7659d8e0 4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / b7fed1188783e2ef554a89fc756d94e07cf9f9b5
Default Java Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3534/19/testReport/
Max. process+thread count 3143 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws hadoop-tools/hadoop-azure U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3534/19/console
versions git=2.25.1 maven=3.6.3 shellcheck=0.7.0 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 49s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 4s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 markdownlint 0m 1s markdownlint was not available.
+0 🆗 shelldocs 0m 1s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 110 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 13m 7s Maven dependency ordering for branch
+1 💚 mvninstall 21m 46s trunk passed
+1 💚 compile 22m 21s trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚 compile 19m 35s trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚 checkstyle 3m 39s trunk passed
+1 💚 mvnsite 4m 18s trunk passed
+1 💚 javadoc 3m 18s trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚 javadoc 3m 57s trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗 spotbugs 0m 42s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 20m 53s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 28s Maven dependency ordering for patch
+1 💚 mvninstall 2m 21s the patch passed
+1 💚 compile 21m 32s the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚 javac 21m 32s root-jdkUbuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 generated 0 new + 1816 unchanged - 50 fixed = 1816 total (was 1866)
+1 💚 compile 19m 32s the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚 javac 19m 32s root-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu120.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu120.04-b07 generated 0 new + 1692 unchanged - 50 fixed = 1692 total (was 1742)
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 3m 34s root: The patch generated 0 new + 72 unchanged - 83 fixed = 72 total (was 155)
+1 💚 mvnsite 4m 13s the patch passed
+1 💚 shellcheck 0m 1s No new issues.
+1 💚 xml 0m 5s The patch has no ill-formed XML file.
+1 💚 javadoc 3m 17s the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚 javadoc 0m 35s hadoop-project in the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.
+1 💚 javadoc 1m 46s hadoop-common in the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.
+1 💚 javadoc 0m 48s hadoop-tools_hadoop-aws-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu120.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu120.04-b07 generated 0 new + 39 unchanged - 23 fixed = 39 total (was 62)
+1 💚 javadoc 0m 46s hadoop-azure in the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.
+0 🆗 spotbugs 0m 38s hadoop-project has no data from spotbugs
+1 💚 shadedclient 21m 13s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 35s hadoop-project in the patch passed.
+1 💚 unit 18m 11s hadoop-common in the patch passed.
+1 💚 unit 2m 19s hadoop-aws in the patch passed.
+1 💚 unit 2m 24s hadoop-azure in the patch passed.
+1 💚 asflicense 0m 59s The patch does not generate ASF License warnings.
235m 11s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3534/20/artifact/out/Dockerfile
GITHUB PR #3534
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml markdownlint spotbugs checkstyle shellcheck shelldocs
uname Linux e855d7f7f82b 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 4cfc07e
Default Java Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3534/20/testReport/
Max. process+thread count 1266 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws hadoop-tools/hadoop-azure U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3534/20/console
versions git=2.25.1 maven=3.6.3 shellcheck=0.7.0 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@mukund-thakur mukund-thakur left a comment

Choose a reason for hiding this comment

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

LGTM +1

@apache apache deleted a comment from hadoop-yetus Jan 17, 2022
@steveloughran steveloughran merged commit 14ba19a into apache:trunk Jan 17, 2022
@steveloughran
Copy link
Contributor Author

done. will do the backporting next

steveloughran added a commit to steveloughran/hadoop that referenced this pull request Jan 18, 2022
Completely removes S3Guard support from the S3A codebase.

If the connector is configured to use any metastore other than
the null and local stores (i.e. DynamoDB is selected) the s3a client
will raise an exception and refuse to initialize.

This is to ensure that there is no mix of S3Guard enabled and disabled
deployments with the same configuration but different hadoop releases
-it must be turned off completely.

The "hadoop s3guard" command has been retained -but the supported
subcommands have been reduced to those which are not purely S3Guard
related: "bucket-info" and "uploads".

This is major change in terms of the number of files
changed; before cherry picking subsequent s3a patches into
older releases, this patch will probably need backporting
first.

Goodbye S3Guard, your work is done. Time to die.

Contributed by Steve Loughran.

Change-Id: I4b8429640d6debd3928f991ef5fbc6d0aa1cab55
steveloughran added a commit that referenced this pull request Jan 18, 2022
Completely removes S3Guard support from the S3A codebase.

If the connector is configured to use any metastore other than
the null and local stores (i.e. DynamoDB is selected) the s3a client
will raise an exception and refuse to initialize.

This is to ensure that there is no mix of S3Guard enabled and disabled
deployments with the same configuration but different hadoop releases
-it must be turned off completely.

The "hadoop s3guard" command has been retained -but the supported
subcommands have been reduced to those which are not purely S3Guard
related: "bucket-info" and "uploads".

This is major change in terms of the number of files
changed; before cherry picking subsequent s3a patches into
older releases, this patch will probably need backporting
first.

Goodbye S3Guard, your work is done. Time to die.

Contributed by Steve Loughran.
bogthe pushed a commit to bogthe/hadoop that referenced this pull request Feb 2, 2022
Completely removes S3Guard support from the S3A codebase.

If the connector is configured to use any metastore other than
the null and local stores (i.e. DynamoDB is selected) the s3a client
will raise an exception and refuse to initialize.

This is to ensure that there is no mix of S3Guard enabled and disabled
deployments with the same configuration but different hadoop releases
-it must be turned off completely.

The "hadoop s3guard" command has been retained -but the supported
subcommands have been reduced to those which are not purely S3Guard
related: "bucket-info" and "uploads".

This is major change in terms of the number of files
changed; before cherry picking subsequent s3a patches into
older releases, this patch will probably need backporting
first.

Goodbye S3Guard, your work is done. Time to die.

Contributed by Steve Loughran.
HarshitGupta11 pushed a commit to HarshitGupta11/hadoop that referenced this pull request Nov 28, 2022
Completely removes S3Guard support from the S3A codebase.

If the connector is configured to use any metastore other than
the null and local stores (i.e. DynamoDB is selected) the s3a client
will raise an exception and refuse to initialize.

This is to ensure that there is no mix of S3Guard enabled and disabled
deployments with the same configuration but different hadoop releases
-it must be turned off completely.

The "hadoop s3guard" command has been retained -but the supported
subcommands have been reduced to those which are not purely S3Guard
related: "bucket-info" and "uploads".

This is major change in terms of the number of files
changed; before cherry picking subsequent s3a patches into
older releases, this patch will probably need backporting
first.

Goodbye S3Guard, your work is done. Time to die.

Contributed by Steve Loughran.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants