You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ozone.apache.org by "Elek, Marton" <el...@apache.org> on 2020/04/21 08:35:21 UTC

ConfigurationSource conf = new OzoneConfiguration();

Please note that a huge patch with a small change is merged which 
changed the usage of configuration (HDDS-3101)

TLDR;

  1. Please use "ConfigurationSource" interface instead of 
"OzoneConfiguration" in your code (if possible)

  2. When you need to create a config, you can create OzoneConfiguration 
(implementation) but if possible use ConfigSource as the type of the 
reference

  3. Methods are the same as before (getLong, getString, ...)


This change is part of the activities of HDDS-3458 (See the attached 
problem description) where we would like to fully support Hadoop 2.x 
line WITHOUT classloader magic.


Marton

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-dev-help@hadoop.apache.org