singletonInstanceField.setAccessible(true);
conf.setAccessible(true);
map.setAccessible(true);
GlobalConfiguration gconf = (GlobalConfiguration) singletonInstanceField.get(null);
if (gconf != null) {
Configuration confObject = (Configuration) conf.get(gconf);
@SuppressWarnings("unchecked")
Map<String, Object> confData = (Map<String, Object>) map.get(confObject);
confData.clear();