You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/24 03:39:00 UTC
[jira] [Work logged] (KNOX-2809) HDFSUI is not high available
[ 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

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)