[ 
https://issues.apache.org/jira/browse/HDFS-17501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841504#comment-17841504
 ] 

ASF GitHub Bot commented on HDFS-17501:
---------------------------------------

hadoop-yetus commented on PR #6775:
URL: https://github.com/apache/hadoop/pull/6775#issuecomment-2080930953

   :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 24s |  |  Maven dependency ordering for branch  |
   | +1 :green_heart: |  mvninstall  | 107m 57s |  |  trunk passed  |
   | +1 :green_heart: |  compile  |  27m 05s |  |  trunk passed  |
   | +1 :green_heart: |  checkstyle  |   5m 55s |  |  trunk passed  |
   | +1 :green_heart: |  mvnsite  |  20m 06s |  |  trunk passed  |
   | +1 :green_heart: |  javadoc  |  18m 07s |  |  trunk passed  |
   | +1 :green_heart: |  shadedclient  | 199m 44s |  |  branch has no errors 
when building and testing our client artifacts.  |
   |||| _ Patch Compile Tests _ |
   | +0 :ok: |  mvndep  |   2m 38s |  |  Maven dependency ordering for patch  |
   | -1 :x: |  mvninstall  |   3m 35s | 
[/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/2/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/2/artifact/out/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs-rbf.txt)
 |  hadoop-hdfs-rbf in the patch failed.  |
   | -1 :x: |  compile  |   4m 07s | 
[/patch-compile-hadoop-hdfs-project.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/2/artifact/out/patch-compile-hadoop-hdfs-project.txt)
 |  hadoop-hdfs-project in the patch failed.  |
   | -1 :x: |  javac  |   4m 07s | 
[/patch-compile-hadoop-hdfs-project.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/2/artifact/out/patch-compile-hadoop-hdfs-project.txt)
 |  hadoop-hdfs-project in the patch failed.  |
   | +1 :green_heart: |  blanks  |   0m 01s |  |  The patch has no blanks 
issues.  |
   | +1 :green_heart: |  checkstyle  |   2m 55s |  |  the patch passed  |
   | -1 :x: |  mvnsite  |   3m 13s | 
[/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/2/artifact/out/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt)
 |  hadoop-hdfs in the patch failed.  |
   | -1 :x: |  mvnsite  |   2m 39s | 
[/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs-rbf.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6775/2/artifact/out/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs-rbf.txt)
 |  hadoop-hdfs-rbf in the patch failed.  |
   | +1 :green_heart: |  javadoc  |   9m 56s |  |  the patch passed  |
   | -1 :x: |  shadedclient  |  67m 44s |  |  patch has errors when building 
and testing our client artifacts.  |
   |||| _ Other Tests _ |
   | +1 :green_heart: |  asflicense  |   4m 29s |  |  The patch does not 
generate ASF License warnings.  |
   |  |   | 437m 42s |  |  |
   
   
   | 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 40a193168ec3 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/2/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/2/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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to