[ 
https://issues.apache.org/jira/browse/HDDS-12394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17929282#comment-17929282
 ] 

Siyao Meng commented on HDDS-12394:
-----------------------------------

Thanks [~adoroszlai] for filing this.

I spent a few minutes on this. But I haven't quite understood why it wouldn't 
get the updated value, especially since /conf 's XML output looks just fine.

Some facts:
1. /config calls /conf?cmd=getPropertyByTag&tags=OM,SCM,... endpoint to get the 
source data (to be formatted and displayed). 
[Code|https://github.com/apache/ozone/blob/4e603aa93c8479349776c1597ef54504453cb512/hadoop-hdds/framework/src/main/resources/webapps/static/ozone.js#L315]
2. /conf endpoint uses hadoop-common 3.4.1 jar 
([Code|https://github.com/apache/hadoop/blob/branch-3.4.1/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/ConfServlet.java#L98-L101])
 in Ozone master branch, and it seems to use the same params for either XML or 
JSON output:

{code}
    if (FORMAT_JSON.equals(format)) {
      Configuration.dumpConfiguration(conf, propertyName, out);
    } else if (FORMAT_XML.equals(format)) {
      conf.writeXml(propertyName, out);
    } else {
{code}

> config browser does not reflect reconfigured values
> ---------------------------------------------------
>
>                 Key: HDDS-12394
>                 URL: https://issues.apache.org/jira/browse/HDDS-12394
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Siyao Meng
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> {{/config}} endpoint shows old values after reconfiguring some properties.  
> {{/conf}} reflects changes.
> https://github.com/apache/ozone/pull/7938#issuecomment-2673090771



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to