[
https://issues.apache.org/jira/browse/HADOOP-20006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18139637#comment-18139637
]
ASF GitHub Bot commented on HADOOP-20006:
-----------------------------------------
hadoop-yetus commented on PR #8948:
URL: https://github.com/apache/hadoop/pull/8948#issuecomment-6686692133
:confetti_ball: **+1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|:----:|----------:|--------:|:--------:|:-------:|
| +0 :ok: | reexec | 0m 53s | | Docker mode activated. |
|||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | 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 2 new or modified test files. |
|||| _ trunk Compile Tests _ |
| +0 :ok: | mvndep | 2m 30s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 53m 30s | | trunk passed |
| +1 :green_heart: | compile | 18m 17s | | trunk passed with JDK
Ubuntu-21.0.12.1+1-1-24.04.4-Ubuntu |
| +1 :green_heart: | compile | 18m 42s | | trunk passed with JDK
Ubuntu-17.0.20.1+1-1-24.04-Ubuntu |
| +1 :green_heart: | checkstyle | 6m 10s | | trunk passed |
| +1 :green_heart: | mvnsite | 13m 52s | | trunk passed |
| +1 :green_heart: | javadoc | 11m 31s | | trunk passed with JDK
Ubuntu-21.0.12.1+1-1-24.04.4-Ubuntu |
| +1 :green_heart: | javadoc | 11m 38s | | trunk passed with JDK
Ubuntu-17.0.20.1+1-1-24.04-Ubuntu |
| +1 :green_heart: | spotbugs | 23m 2s | | trunk passed |
| +1 :green_heart: | shadedclient | 35m 49s | | branch has no errors
when building and testing our client artifacts. |
|||| _ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 29s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 8m 45s | | the patch passed |
| +1 :green_heart: | compile | 17m 16s | | the patch passed with JDK
Ubuntu-21.0.12.1+1-1-24.04.4-Ubuntu |
| +1 :green_heart: | javac | 17m 16s | | the patch passed |
| +1 :green_heart: | compile | 18m 40s | | the patch passed with JDK
Ubuntu-17.0.20.1+1-1-24.04-Ubuntu |
| +1 :green_heart: | javac | 18m 40s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| +1 :green_heart: | checkstyle | 5m 54s | | the patch passed |
| +1 :green_heart: | mvnsite | 13m 45s | | the patch passed |
| +1 :green_heart: | javadoc | 11m 33s | | the patch passed with JDK
Ubuntu-21.0.12.1+1-1-24.04.4-Ubuntu |
| +1 :green_heart: | javadoc | 11m 37s | | the patch passed with JDK
Ubuntu-17.0.20.1+1-1-24.04-Ubuntu |
| +1 :green_heart: | spotbugs | 25m 22s | | the patch passed |
| +1 :green_heart: | shadedclient | 36m 44s | | patch has no errors
when building and testing our client artifacts. |
|||| _ Other Tests _ |
| +1 :green_heart: | unit | 24m 37s | | hadoop-common in the patch
passed. |
| +1 :green_heart: | unit | 268m 45s | | hadoop-hdfs in the patch
passed. |
| +1 :green_heart: | unit | 7m 28s | | hadoop-yarn-common in the patch
passed. |
| +1 :green_heart: | unit | 5m 24s | | hadoop-yarn-server-common in
the patch passed. |
| +1 :green_heart: | unit | 4m 58s | |
hadoop-yarn-server-applicationhistoryservice in the patch passed. |
| +1 :green_heart: | unit | 2m 8s | |
hadoop-yarn-server-timelineservice in the patch passed. |
| +1 :green_heart: | unit | 121m 26s | |
hadoop-yarn-server-resourcemanager in the patch passed. |
| +1 :green_heart: | unit | 27m 32s | | hadoop-yarn-server-nodemanager
in the patch passed. |
| +1 :green_heart: | unit | 9m 52s | | hadoop-mapreduce-client-app in
the patch passed. |
| +1 :green_heart: | unit | 4m 44s | | hadoop-mapreduce-client-hs in
the patch passed. |
| +1 :green_heart: | unit | 12m 54s | | hadoop-yarn-server-router in
the patch passed. |
| +1 :green_heart: | asflicense | 1m 30s | | The patch does not
generate ASF License warnings. |
| | | 847m 26s | | |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.56 ServerAPI=1.56 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8948/1/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/8948 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
| uname | Linux 2ef601942c65 5.15.0-198-generic #208-Ubuntu SMP Fri Sep 4
10:22:38 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev-support/bin/hadoop.sh |
| git revision | trunk / bef186062bbc68296e440a5843ea129d18fa95cb |
| Default Java | Ubuntu-17.0.20.1+1-1-24.04-Ubuntu |
| Multi-JDK versions |
/usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.12.1+1-1-24.04.4-Ubuntu
/usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.20.1+1-1-24.04-Ubuntu |
| Test Results |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8948/1/testReport/ |
| Max. process+thread count | 3779 (vs. ulimit of 10000) |
| modules | C: hadoop-common-project/hadoop-common
hadoop-hdfs-project/hadoop-hdfs
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router U:
. |
| Console output |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8948/1/console |
| versions | git=2.43.0 maven=3.9.15 spotbugs=4.9.7 |
| Powered by | Apache Yetus 0.14.1 https://yetus.apache.org |
This message was automatically generated.
> Clear the response charset along with the content type
> ------------------------------------------------------
>
> Key: HADOOP-20006
> URL: https://issues.apache.org/jira/browse/HADOOP-20006
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: common, hdfs, mapreduce, yarn
> Reporter: Jose Luis López
> Priority: Major
> Labels: pull-request-available
>
> Every server {{HttpServer2}} builds runs {{QuotingInputFilter}}, which sets
> {{text/plain; charset=utf-8}} before the request reaches its resource. JAX-RS
> resources that choose their own content type undo it with
> {{response.setContentType(null)}}, at 14 call sites in 13 classes.
> On Jetty 12 that is not enough. The charset is dropped, but the response
> remembers that one was set and appends it to the next content type, so
> WebHDFS SETPERMISSION answers {{application/octet-stream;charset=null}}.
> Types without a default charset are affected, {{application/xml}} among them;
> {{application/json}} is not.
> h3. Changes
> * New {{JettyUtils#clearContentType(HttpServletResponse)}} calls
> {{setContentType(null)}} and {{setCharacterEncoding(null)}}. It uses only
> {{javax.servlet}}.
> * It is used at all 14 call sites: {{NamenodeWebHdfsMethods}}, the WebHDFS
> {{ExceptionHandler}}, {{AMWebServices}}, {{HsWebServices}},
> {{GenericExceptionHandler}}, {{TimelineWebServices}}, {{LogWebService}},
> {{WebServices}}, {{NMWebServices}}, {{RMWebServices}}, {{RouterWebServices}},
> {{TimelineCollectorWebService}} and {{TimelineReaderWebServices}}.
> h3. Compatibility
> No change on Jetty 9.4.
> h3. Tests
> {{TestHttpServer}} asserts the Content-Type header a resource sends after
> clearing and re-setting its content type.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]