[ 
https://issues.apache.org/jira/browse/KNOX-2809?focusedWorklogId=811797&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-811797
 ]

ASF GitHub Bot logged work on KNOX-2809:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Sep/22 03:38
            Start Date: 24/Sep/22 03:38
    Worklog Time Spent: 10m 
      Work Description: 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)
   
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 811797)
    Remaining Estimate: 0h
            Time Spent: 10m

> HDFSUI is not high available
> ----------------------------
>
>                 Key: KNOX-2809
>                 URL: https://issues.apache.org/jira/browse/KNOX-2809
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Chang Zhichao
>            Priority: Major
>             Fix For: 1.6.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> HDFSUI use org.apache.knox.gateway.dispatch.URLDecodingDispatch for request, 
> it didn't do failoverRequest when executeRequest failed.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to