[
https://issues.apache.org/jira/browse/HDFS-17501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841659#comment-17841659
]
ASF GitHub Bot commented on HDFS-17501:
---------------------------------------
hadoop-yetus commented on PR #6775:
URL: https://github.com/apache/hadoop/pull/6775#issuecomment-2081518185
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|:----:|----------:|--------:|:--------:|:-------:|
|||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 01s | | No case conflicting files
found. |
| +0 :ok: | spotbugs | 0m 01s | | spotbugs executables are not
available. |
| +0 :ok: | codespell | 0m 01s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 01s | | detect-secrets was not available.
|
| +1 :green_heart: | @author | 0m 00s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 00s | | The patch appears to
include 1 new or modified test files. |
|||| _ trunk Compile Tests _ |
| +0 :ok: | mvndep | 4m 00s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 107m 47s | | trunk passed |
| +1 :green_heart: | compile | 26m 49s | | trunk passed |
| +1 :green_heart: | checkstyle | 5m 46s | | trunk passed |
| +1 :green_heart: | mvnsite | 21m 10s | | trunk passed |
| +1 :green_heart: | javadoc | 18m 20s | | trunk passed |
| +1 :green_heart: | shadedclient | 198m 16s | | branch has no errors
when building and testing our client artifacts. |
|||| _ Patch Compile Tests _ |
| +0 :ok: | mvndep | 2m 47s | | Maven dependency ordering for patch |
| -1 :x: | mvninstall | 3m 26s |
[/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/3/artifact/out/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt)
| hadoop-hdfs in the patch failed. |
| -1 :x: | mvninstall | 2m 40s |
[/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs-rbf.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/3/artifact/out/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs-rbf.txt)
| hadoop-hdfs-rbf in the patch failed. |
| -1 :x: | compile | 4m 06s |
[/patch-compile-hadoop-hdfs-project.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/3/artifact/out/patch-compile-hadoop-hdfs-project.txt)
| hadoop-hdfs-project in the patch failed. |
| -1 :x: | javac | 4m 06s |
[/patch-compile-hadoop-hdfs-project.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/3/artifact/out/patch-compile-hadoop-hdfs-project.txt)
| hadoop-hdfs-project in the patch failed. |
| +1 :green_heart: | blanks | 0m 00s | | The patch has no blanks
issues. |
| +1 :green_heart: | checkstyle | 2m 57s | | the patch passed |
| -1 :x: | mvnsite | 3m 14s |
[/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/3/artifact/out/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt)
| hadoop-hdfs in the patch failed. |
| -1 :x: | mvnsite | 2m 41s |
[/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs-rbf.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/3/artifact/out/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs-rbf.txt)
| hadoop-hdfs-rbf in the patch failed. |
| +1 :green_heart: | javadoc | 9m 40s | | the patch passed |
| -1 :x: | shadedclient | 67m 59s | | patch has errors when building
and testing our client artifacts. |
|||| _ Other Tests _ |
| +1 :green_heart: | asflicense | 4m 28s | | The patch does not
generate ASF License warnings. |
| | | 435m 20s | | |
| Subsystem | Report/Notes |
|----------:|:-------------|
| GITHUB PR | https://github.com/apache/hadoop/pull/6775 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
| uname | MINGW64_NT-10.0-17763 2d9fa353a65a 3.4.10-87d57229.x86_64
2024-02-14 20:17 UTC x86_64 Msys |
| Build tool | maven |
| Personality | /c/hadoop/dev-support/bin/hadoop.sh |
| git revision | trunk / 95424d4aa56cd8c239598d7943e4d37cceb71bb6 |
| Default Java | Azul Systems, Inc.-1.8.0_332-b09 |
| Test Results |
https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/3/testReport/
|
| modules | C: hadoop-hdfs-project/hadoop-hdfs-client
hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-rbf U:
hadoop-hdfs-project |
| Console output |
https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/3/console
|
| versions | git=2.44.0.windows.1 |
| Powered by | Apache Yetus 0.14.0 https://yetus.apache.org |
This message was automatically generated.
> Add a parameter "redirectByIPAddress" to WebHDFS
> ------------------------------------------------
>
> Key: HDFS-17501
> URL: https://issues.apache.org/jira/browse/HDFS-17501
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: webhdfs
> Reporter: Ye Ni
> Assignee: Ye Ni
> Priority: Minor
> Labels: pull-request-available
>
> Provide a WebHDFS parameter so the redirect URL to a datanode can have an
> option on hostname or IP address.
> This takes effect for both NameNode and Router WebHDFS. Default value is
> false, which is consistent with current behavior.
>
> {code:java}
> curl --insecure -i -X PUT
> "https://localhost:81/webhdfs/v1/user/test/test.ini?op=CREATE&redirectByIpAddress=true"
> HTTP/1.1 307 Temporary Redirect
> Location:
> https://127.0.0.1:10076/webhdfs/v1/user/test/test.ini?op=CREATE&namenoderpcaddress=localhost&createflag=&createparent=true&overwrite=false
> curl --insecure -i -X PUT
> "https://localhost:81/webhdfs/v1/user/test/test.ini?op=CREATE&redirectByIpAddress=false"
> HTTP/1.1 307 Temporary Redirect
> Location:
> https://localhost:10076/webhdfs/v1/user/test/test.ini?op=CREATE&namenoderpcaddress=localhost&createflag=&createparent=true&overwrite=false
> curl --insecure -i -X PUT
> "https://localhost:81/webhdfs/v1/user/test/test.ini?op=CREATE"
> HTTP/1.1 307 Temporary Redirect
> Location:
> https://localhost:10076/webhdfs/v1/user/test/test.ini?op=CREATE&namenoderpcaddress=localhost&createflag=&createparent=true&overwrite=false
> {code}
>
> HttpFS doesn't need this change because HttpFS always uses the same URI as
> requested to redirect.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]