[
https://issues.apache.org/jira/browse/HDDS-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167600#comment-17167600
]
maobaolong commented on HDDS-3835:
----------------------------------
Hi [~elek], I used to work well with HDFS reconfig framework, it helps us to
solve many problem without restart the process, something like change the
interval of redundancyMonitor, resize some queue size, anyway, it helps us a
lot.
But, after some thought of Ozone, i think it hard to have a reconfig framework
like HDFS by some following reasons.
* The configuration keys of HDFS come from the specific config files in the
classpath, like core-default.xml, hdfs-default.xml, core-site.xml,
hdfs-site.xml, after i modify these files, I can use hdfs reconfig admin shell
command to reload these files and able to get this diffs keys, and fire the
event to the listeners. This can work because each process of HDFS, like
namenode, datanode maintains one configuration.
* The configuration keys of Ozone come from the specific config files in the
classpath, like ozone-site.xml, but, we can specify other config file by
`-conf` arguments, we can also specify the config key by `-Dkey=value`, further
more, Ozone invent a java annotation based configuration, it is easy to used.
But it is hard to get the diffs between the changed config files and the config
key in mem.
Do you have some idea to make reconfig come true to Ozone?
> Ozone reconfiguration framework
> -------------------------------
>
> Key: HDDS-3835
> URL: https://issues.apache.org/jira/browse/HDDS-3835
> Project: Hadoop Distributed Data Store
> Issue Type: New Feature
> Affects Versions: 0.7.0
> Reporter: maobaolong
> Assignee: maobaolong
> Priority: Major
>
> We need Ozone reconfigure framework to support reload new config value
> dynamically
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]