So, as the title, here's what i have tried:
./elasticsearch -E cluster.name=my_cluster -E node.name=node_master -E http.port=9200 -E discovery.zen.ping.unicast.hosts=["127.0.0.1:9201-9209"]
the reason for this is i want to setup 2 node in one machine and i really want to config it as command agrument, not in config file. i have work with this error for hours.
and here is the result:
java.net.UnknownHostException: 127.0.0.1:9201-9209: invalid IPv6 address at java.net.InetAddress.getAllByName(InetAddress.java:1169) ~[?:1.8.0_121] at java.net.InetAddress.getAllByName(InetAddress.java:1126) ~[?:1.8.0_121] at org.elasticsearch.transport.TcpTransport.parse(TcpTransport.java:897) ~[elasticsear at org.elasticsearch.transport.TcpTransport.addressesFromString(TcpTransport.java:852) at org.elasticsearch.transport.TransportService.addressesFromString(TransportService.j at org.elasticsearch.discovery.zen.UnicastZenPing.lambda$null$0(UnicastZenPing.java:21 at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_121] at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.ru at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?: at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
please anyone show me what i'm missing?
Thanks so much.