itongxiaojun opened a new pull request, #3925:
URL: https://github.com/apache/ambari/pull/3925

   Description:
   This PR addresses an issue with the HDFS web service check. Currently, the 
check does not consider the HTTP 302 status code as a valid response, even 
though it is a valid and usable status for the service. This change adds a 
condition to include the 302 status code as an acceptable response, ensuring 
the service check works correctly in scenarios where a 302 redirect is returned.
   
   Changes:
   
   Modified the HDFS web service check logic to include a check for the 302 
status code.
   
   Updated the relevant test cases to verify the new behavior.
   
   Testing:
   
   Manually tested the service check with a 302 response to ensure it is 
recognized as valid.
   
   
![image](https://github.com/user-attachments/assets/682ccf6a-7406-4ced-a659-5df4574870a5)
   


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

Reply via email to