You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Pratyush Bhatt (Jira)" <ji...@apache.org> on 2023/06/15 02:37:00 UTC

[jira] [Updated] (KNOX-2916) [Ozone-Knox] Topology Change for Recon throws wrong error code

     [ https://issues.apache.org/jira/browse/KNOX-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pratyush Bhatt updated KNOX-2916:
---------------------------------
    Description: 
Corrupting the entry for Recon Instance in the cdp-proxy.xml
Before:
{noformat}
    <service>
        <role>OZONE-RECON</role>
        <url>https://ozn-kx4-1.ozn-kx4.xxx.xxx.xxx:9889</url>
    </service>{noformat}
After:
{noformat}
    <service>
        <role>OZONE-RECON</role>
        <url>https://ozn1-kx4-1.ozn-kx4.xxx.xxx.xxx:9889</url>
    </service>{noformat}
Wrong error code(500) is thrown, it should throw 404

  was:
Corrupting the entry for Recon Instance in the cdp-proxy.xml
Before:
{noformat}
    <service>
        <role>OZONE-RECON</role>
        <url>https://ozn-kx4-1.ozn-kx4.root.hwx.site:9889</url>
    </service>{noformat}
After:
{noformat}
    <service>
        <role>OZONE-RECON</role>
        <url>https://ozn1-kx4-1.ozn-kx4.root.hwx.site:9889</url>
    </service>{noformat}
Wrong error code(500) is thrown, it should throw 404


> [Ozone-Knox] Topology Change for Recon throws wrong error code
> --------------------------------------------------------------
>
>                 Key: KNOX-2916
>                 URL: https://issues.apache.org/jira/browse/KNOX-2916
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Pratyush Bhatt
>            Priority: Major
>
> Corrupting the entry for Recon Instance in the cdp-proxy.xml
> Before:
> {noformat}
>     <service>
>         <role>OZONE-RECON</role>
>         <url>https://ozn-kx4-1.ozn-kx4.xxx.xxx.xxx:9889</url>
>     </service>{noformat}
> After:
> {noformat}
>     <service>
>         <role>OZONE-RECON</role>
>         <url>https://ozn1-kx4-1.ozn-kx4.xxx.xxx.xxx:9889</url>
>     </service>{noformat}
> Wrong error code(500) is thrown, it should throw 404



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