TransportClient client = new PreBuiltTransportClient(Settings.EMPTY)
.addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName("host1"), 9300))
.addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName("host2"), 9300));
Whether it is necessary to include all the node IP suppose i have 3 nodes one data , client , master nodes or enough to include only the data/client node IP.