configs.put("io.fabric8.hadoop", new HashMap<String, String>());
configs.get("io.fabric8.hadoop").put("taskTracker", "true");
Profile taskTrackerProfile = profileService.createProfile(builder.setConfigurations(configs).getProfile());
builder = ProfileBuilder.Factory.create(versionId, "insight-hdfs-" + name);
builder.addParent(version.getRequiredProfile("insight-hdfs").getId());
configs = new HashMap<String, Map<String, String>>();
configs.put("io.fabric8.insight.elasticsearch-default", new HashMap<String, String>());
configs.get("io.fabric8.insight.elasticsearch-default").put("gateway.hdfs.uri", "hdfs://${zk:" + nameNode + "/ip}:9000");
Profile insightProfile = profileService.createProfile(builder.setConfigurations(configs).getProfile());