added hosts list generation from zookeeper