Flamingo93 opened a new pull request, #638:
URL: https://github.com/apache/knox/pull/638

   ## What changes were proposed in this pull request?
   @risdenk use `org.apache.knox.gateway.dispatch.URLDecodingDispatch` for 
HDFSUI dispatch ha-class  in https://github.com/apache/knox/pull/103. But 
`URLDecodingDispatch` didn't do failover request when request failed. 
   
   I recommend using `org.apache.knox.gateway.hdfs.dispatch.HdfsUIHaDispatch` 
for this, but it  it lack URL decoding what  `URLDecodingDispatch` do. So I 
override `getDispatchUrl` method in `HdfsUIHaDispatch`, decode url just like 
`URLDecodingDispatch`.
   
   ## How was this patch tested?
   
   - mvn clean verify -Ppackage,release
   - Checked that HDFSUI service definition works with HaProvider on cluster
   
   
![image](https://user-images.githubusercontent.com/26102745/192078471-4927720c-42e0-45e2-96d1-cb36f0ef7d8a.png)
   
   


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

Reply via email to