我正在关注https://hazelcast.org/getting-started/
上的“开始使用淡褐色”视频提交者下载zip,提取它&开始运行../demo/console.sh脚本,其中包含:
java -Djava.net.preferIPv4Stack=true -cp ../lib/hazelcast-all-3.7.1.jar com.hazelcast.console.ConsoleApp
当我运行时,我得到:
Sep 09, 2016 1:31:45 PM com.hazelcast.config.FileSystemXmlConfig
INFO: Configuring Hazelcast from '/Users/maspen/Documents/work/caching/hazelcast-3.7.1/demo/hazelcast.xml'.
Sep 09, 2016 1:31:45 PM com.hazelcast.instance.DefaultAddressPicker
INFO: [LOCAL] [dev] [3.7.1] Prefer IPv4 stack is true.
Sep 09, 2016 1:31:45 PM com.hazelcast.instance.DefaultAddressPicker
INFO: [LOCAL] [dev] [3.7.1] Picked [10.20.10.58]:5703, using socket ServerSocket[addr=/0.0.0.0,localport=5703], bind any local is true
Sep 09, 2016 1:31:45 PM com.hazelcast.system
INFO: [10.20.10.58]:5703 [dev] [3.7.1] Hazelcast 3.7.1 (20160905 - 1f47990) starting at [10.20.10.58]:5703
Sep 09, 2016 1:31:45 PM com.hazelcast.system
INFO: [10.20.10.58]:5703 [dev] [3.7.1] Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved.
Sep 09, 2016 1:31:45 PM com.hazelcast.system
INFO: [10.20.10.58]:5703 [dev] [3.7.1] Configured Hazelcast Serialization version : 1
Sep 09, 2016 1:31:45 PM com.hazelcast.spi.impl.operationservice.impl.BackpressureRegulator
INFO: [10.20.10.58]:5703 [dev] [3.7.1] Backpressure is disabled
Sep 09, 2016 1:31:45 PM com.hazelcast.instance.Node
INFO: [10.20.10.58]:5703 [dev] [3.7.1] Creating MulticastJoiner
Sep 09, 2016 1:31:45 PM com.hazelcast.core.LifecycleService
INFO: [10.20.10.58]:5703 [dev] [3.7.1] [10.20.10.58]:5703 is STARTING
Sep 09, 2016 1:31:45 PM com.hazelcast.spi.impl.operationexecutor.impl.OperationExecutorImpl
INFO: [10.20.10.58]:5703 [dev] [3.7.1] Starting 8 partition threads
Sep 09, 2016 1:31:45 PM com.hazelcast.spi.impl.operationexecutor.impl.OperationExecutorImpl
INFO: [10.20.10.58]:5703 [dev] [3.7.1] Starting 5 generic threads (1 dedicated for priority tasks)
Sep 09, 2016 1:31:45 PM com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThreadingModel
INFO: [10.20.10.58]:5703 [dev] [3.7.1] TcpIpConnectionManager configured with Non Blocking IO-threading model: 3 input threads and 3 output threads
Sep 09, 2016 1:31:45 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:46 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:46 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:46 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:46 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:46 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:46 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:46 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:46 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:47 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:47 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:47 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:47 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:47 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:47 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:47 PM com.hazelcast.internal.cluster.impl.MulticastService
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] You probably have too long Hazelcast configuration!
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at com.hazelcast.internal.cluster.impl.MulticastService.send(MulticastService.java:235)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.findMasterWithMulticast(MulticastJoiner.java:174)
at com.hazelcast.internal.cluster.impl.MulticastJoiner.doJoin(MulticastJoiner.java:62)
at com.hazelcast.internal.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:135)
at com.hazelcast.instance.Node.join(Node.java:650)
at com.hazelcast.instance.Node.start(Node.java:362)
at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:132)
at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
at com.hazelcast.console.ConsoleApp.main(ConsoleApp.java:1580)
Sep 09, 2016 1:31:47 PM com.hazelcast.internal.cluster.impl.MulticastJoiner
INFO: [10.20.10.58]:5703 [dev] [3.7.1]
Members [1] {
Member [10.20.10.58]:5703 - 7332a514-f880-455f-be2f-68c2fcad0f23 this
}
Sep 09, 2016 1:31:47 PM com.hazelcast.instance.Node
WARNING: [10.20.10.58]:5703 [dev] [3.7.1] Config seed port is 5701 and cluster size is 1. Some of the ports seem occupied!
Sep 09, 2016 1:31:47 PM com.hazelcast.core.LifecycleService
INFO: [10.20.10.58]:5703 [dev] [3.7.1] [10.20.10.58]:5703 is STARTED
Sep 09, 2016 1:31:47 PM com.hazelcast.internal.partition.impl.PartitionStateManager
INFO: [10.20.10.58]:5703 [dev] [3.7.1] Initializing cluster partition table arrangement...
hazelcast[default] >
然后我改变了:
java -Djava.net.preferIPv4Stack=true -cp ../lib/hazelcast-all-3.7.1.jar com.hazelcast.console.ConsoleApp
为:
java -Djava.net.preferIPv6Stack=true -cp ../lib/hazelcast-all-3.7.1.jar com.hazelcast.console.ConsoleApp
现在没有错误。
但是,如视频中所示,我应该能够多次运行此脚本来创建群集:
当我这样做时,我会得到单独的'实例':
然后我复制了脚本文件&amp;前置一次命令w /-server
:
java -server -Djava.net.preferIPv6Stack=true -cp ../lib/hazelcast-all-3.7.1.jar com.hazelcast.console.ConsoleApp
开始了&amp;创建了另一个脚本w / -client
:
java -client -Djava.net.preferIPv6Stack=true -cp ../lib/hazelcast-all-3.7.1.jar com.hazelcast.console.ConsoleApp
效果与上述相同。
有人可以告诉我这里有什么/没有发生什么?
答案 0 :(得分:0)
您的网络/计算机不允许创建多播套接字。这可能有多种原因,例如您的帐户不被允许,防火墙阻止创建或其他原因。很难猜出实际原因。如果您使用的是OSX,则可能会停用WiFi连接(因此您只能使用localhost)。无论如何,这就是你的节点没有连接在一起的原因 - 他们不能使用多播来找到对方。
要重新配置发现,请参阅:http://docs.hazelcast.org/docs/3.7/manual/html-single/index.html#discovering-cluster-members和http://docs.hazelcast.org/docs/3.7/manual/html-single/index.html#discovery-spi