localhost is available on my CentOS machine. I can start the cluster(including taskMgr) with start-cluster.sh when using flink-1.10 release tgz package change the slave file localhost to 127.0.0.1 can resolve the problem. But it request the password of the host. Not change slave file, i can first start-cluster(only job manager started). And then “taskmanager.sh start“ to start the taskMgr. No password needed.
Thanks, Lei wangl...@geekplus.com.cn Sender: Xintong Song Send Time: 2020-04-30 12:13 Receiver: wangl...@geekplus.com.cn cc: user Subject: Re: 1.11 snapshot: Name or service not knownname localhost and taskMgr not started Hi Lei, Could you check whether the hostname 'localhost' is available on your CentOS machine? This is usually defined in "/etc/hosts". You can also try to modify the slaves file, replacing 'localhost' with '127.0.0.1'. The path is: <FLINK_DIR>/conf/slaves Thank you~ Xintong Song On Thu, Apr 30, 2020 at 11:38 AM wangl...@geekplus.com.cn <wangl...@geekplus.com.cn> wrote: 1 Clone the 1.11 snapshot repository 2 Build it on windowns 3 Scp the flink-dist/target/flink-1.11-SNAPSHOT-bin/flink-1.11-SNAPSHOT dir to a CentOS server 4 ./bin/start-cluster.sh on the CentOS server There's message: Starting cluster. Starting standalonesession daemon on host test_3.6. : Name or service not knownname localhost Only the jobMgr is started. The taskMgr not start Any insight on this? Thanks Lei wangl...@geekplus.com.cn