You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/06/23 01:40:01 UTC

[GitHub] [ozone] jojochuang commented on a change in pull request #2356: HDDS-3292. Support Hadoop 3.3

jojochuang commented on a change in pull request #2356:
URL: https://github.com/apache/ozone/pull/2356#discussion_r656696838



##########
File path: hadoop-ozone/dist/src/main/smoketest/spnego/web.robot
##########
@@ -41,7 +41,7 @@ Verify SPNEGO enabled URL
     [arguments]                      ${url}
     Run Keyword if      '${SECURITY_ENABLED}' == 'true'     Execute     kdestroy
     ${result} =         Execute                             curl --negotiate -u : -v -s -I ${url}
-    Should contain      ${result}       401 Unauthorized
+    Should contain      ${result}       401 Authentication required

Review comment:
       This is changed by the Jetty version upgrade in Hadoop 3.3.1 (HADOOP-17371 ) where Hadoop adds back the ability to specify a custom error message (the standard error message is "401 Unauthorized") for Jetty >= 9.4.21.
   
   By the HTTP standard, applications are not supposed to depend on the error message (only error code) so I think this is fine.




-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org