Assert.assertNotNull(host);
final Config c = configFactory.createNew(cluster, "hdfs-site",
new HashMap<String, String>() {{ put("dfs.journalnode.http-address", "http://goo"); }});
c.setVersionTag("version3");
c.persist();
cluster.addConfig(c);
//host.addDesiredConfig(cluster.getClusterId(), true, "user", c);
ConfigGroup configGroup = configGroupFactory.createNew(cluster, "g1",
"t1", "", new HashMap<String, Config>() {{ put("hdfs-site", c); }},
new HashMap<String, Host>() {{ put("h3", host); }});