[
https://issues.apache.org/jira/browse/HADOOP-20044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18135425#comment-18135425
]
ASF GitHub Bot commented on HADOOP-20044:
-----------------------------------------
konstantinb opened a new pull request, #8901:
URL: https://github.com/apache/hadoop/pull/8901
… fix pool-test isolation
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
### How was this patch tested?
### For code changes:
- [ ] Does the title of this PR start 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? *Note:
Automated CI
testing doesn't cover all cases so manual testing with cloud storage
is still
required.*
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
### AI Tooling
If an AI tool was used:
- [ ] The PR includes the phrase "Contains content generated by <tool>"
where <tool> is the name of the AI tool used.
- [ ] My use of AI contributions follows the ASF legal policy
https://www.apache.org/legal/generative-tooling.html
> S3A: enable shared AWS client schedulers by default and fix pool-test
> isolation
> -------------------------------------------------------------------------------
>
> Key: HADOOP-20044
> URL: https://issues.apache.org/jira/browse/HADOOP-20044
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs/s3
> Reporter: Konstantin Bereznyakov
> Priority: Major
>
> HADOOP-19862 introduced shared scheduled thread pools for S3A’s AWS clients.
> During review, we agreed to keep them opt-in initially and change the
> defaults in a follow-up. This is that follow-up.
> Enable all four pools—S3 sync, S3 async, STS and KMS—by default. Keep the
> existing flags as opt-outs and leave pool sizes and idle timeouts unchanged.
> The same PR should fix the enabled/disabled tests’ isolation. Their pool
> settings are remembered for the life of the JVM, so reusing a test JVM can
> make the result depend on which class runs first. The Javadocs edits from
> HADOOP-19862 also overstate when separate forks are guaranteed.
> h2. The change scope:
> * Consistent XML and Java defaults, with tests for explicit opt-out.
> * Reliable on/off tests in both execution orders and sequential/parallel
> profiles.
> * [Possibly] A regression check for multipart-copy auditing, including
> retries.
> h2. A follow-up review also raised these questions:
> * Should we change the test-only accessor visibility? STS and KMS accessors
> are public, while the S3 equivalents are package-private.
> * Can the thread-counting helper avoid collecting stack frames when it only
> needs thread names?
> * Would simplifying getters or sharing test scaffolding help the isolation
> correction?
> * Is parallel filesystem creation worthwhile in the test helper?
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]