joseluisll opened a new pull request, #8949:
URL: https://github.com/apache/hadoop/pull/8949

   ### Description of PR
   
   HBase, Hive, Spark, Ozone and Knox compile against hadoop-auth's filters and 
HttpServer2. TestDownstreamServletCompatibility asserts that this surface 
speaks javax.servlet and that its public classes name no Jetty type, and runs a 
downstream-style filter and servlet on an HttpServer2.
   
   The test pins the HttpServer2 behaviour offered to downstream projects: a 
redirect's Location is absolute, /static lists no directory, paths with an 
empty segment, an encoded percent or an encoded backslash reach the servlet, 
and /logs keeps its admin check when hadoop.log.dir is missing. Also sets 
relativeRedirectAllowed explicitly: Jetty 9.4 defaults it to false, so this 
changes nothing today; Jetty 12 defaults it to true.
   
   Test-only change plus the relativeRedirectAllowed pin in HttpServer2.
   
   ### How was this patch tested?
   
   The changed modules' tests, run by the Yetus precommit and the fork's CI on 
this branch.
   
   ### For code changes:
   
   - [x] Does the title of this PR start with the corresponding JIRA issue id?
   - [ ] Object storage: not applicable, no object store integration touched.
   - [ ] If adding new dependencies to the code: not applicable, no new 
dependency.
   - [ ] If applicable, have you updated the LICENSE files: not applicable.
   
   ### AI Tooling
   
   If an AI tool was used:
   
   - [x] The PR includes the phrase "Contains content generated by <tool>" 
where <tool> is the name of the AI tool used.
   - [x] My use of AI contributions follows the ASF legal policy 
https://www.apache.org/legal/generative-tooling.html
   
   Contains content generated by Claude Code.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

  • [PR] HADOOP-20007. Add a test ... joseluisll (via GitHub) via common-issues

Reply via email to