Spongebob created FLINK-20685:
---------------------------------
Summary: Flink connect incorrect address of yarn's resouceManager scheduler
Key: FLINK-20685
URL:
https://issues.apache.org/jira/browse/FLINK-20685 Project: Flink
Issue Type: Bug
Components: flink-contrib
Affects Versions: 1.12.0
Environment: flink version: 1.12.0
hadoop version: 3.1.3
flink shaded hadoop version: flink-shaded-hadoop-3-uber-3.1.1.7.1.1.0
Reporter: Spongebob
flink version: 1.12.0
hadoop version: 3.1.3
flink shaded hadoop version: flink-shaded-hadoop-3-uber-3.1.1.7.1.1.0-565-9.0.jar
Issue desc: When I start the flink session via script "yarn-session.sh", the console log shows " Deployment took more than 60 seconds. Please check if the requested resources are available in the YARN cluster". And yarn log shows this error "Retrying connect to server: 0.0.0.0/0.0.0.0:8030. Already tried 9 time(s)", in fact the yarn scheduler address is "hadmaster:9901" in the yarn-site.xml for me.
I am sure that my yarn cluster is running normally because I can run other application on yarn succefully and there are enough resources too. I had set `YARN_CONF_DIR`, `HADOOP_CONF_DIR`, `HADOOP_CLASSPATH` in system env also.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)