[root@datanode127 flink-1.8.1]# bin/yarn-session.sh run -n 2 -tm 2048 -s 4 2019-07-31 11:46:46,986 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: jobmanager.rpc.address, localhost 2019-07-31 11:46:46,987 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: jobmanager.rpc.port, 6123 2019-07-31 11:46:46,987 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: jobmanager.heap.size, 1024m 2019-07-31 11:46:46,987 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: taskmanager.heap.size, 1024m 2019-07-31 11:46:46,987 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: taskmanager.numberOfTaskSlots, 1 2019-07-31 11:46:46,988 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: parallelism.default, 1 2019-07-31 11:46:47,489 INFO org.apache.flink.runtime.security.modules.HadoopModule - Hadoop user set to root (auth:SIMPLE) 2019-07-31 11:46:47,548 INFO org.apache.hadoop.yarn.client.RMProxy - Connecting to ResourceManager at datanode127/172.16.0.127:8032 2019-07-31 11:46:47,766 INFO org.apache.flink.yarn.AbstractYarnClusterDescriptor - Cluster specification: ClusterSpecification{masterMemoryMB=1024, taskManagerMemoryMB=1024, numberTaskManagers=1, slotsPerTaskManager=1} 2019-07-31 11:46:48,018 WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2019-07-31 11:46:48,033 WARN org.apache.flink.yarn.AbstractYarnClusterDescriptor - The configuration directory ('/data2/flink/flink-1.8.1/conf') contains both LOG4J and Logback configuration files. Please delete or rename one of them. 2019-07-31 11:46:49,540 INFO org.apache.flink.yarn.AbstractYarnClusterDescriptor - Submitting application master application_1564366526843_1818 2019-07-31 11:46:49,560 INFO org.apache.hadoop.yarn.client.api.impl.YarnClientImpl - Submitted application application_1564366526843_1818 2019-07-31 11:46:49,560 INFO org.apache.flink.yarn.AbstractYarnClusterDescriptor - Waiting for the cluster to be allocated 2019-07-31 11:46:49,561 INFO org.apache.flink.yarn.AbstractYarnClusterDescriptor - Deploying cluster, current state ACCEPTED 2019-07-31 11:46:52,573 INFO org.apache.flink.yarn.AbstractYarnClusterDescriptor - YARN application has been deployed successfully. 2019-07-31 11:46:52,928 INFO org.apache.flink.runtime.rest.RestClient - Rest client endpoint started. Flink JobManager is now running on datanode127:37898 with leader id 00000000-0000-0000-0000-000000000000. JobManager Web Interface: http://datanode127:37898 ^C2019-07-31 11:54:04,390 INFO org.apache.flink.runtime.rest.RestClient - Shutting down rest endpoint. 2019-07-31 11:54:04,392 INFO org.apache.flink.runtime.rest.RestClient - Rest endpoint shutdown complete. 2019-07-31 11:54:04,393 INFO org.apache.flink.yarn.cli.FlinkYarnSessionCli - Deleted Yarn properties file at /tmp/.yarn-properties-root [root@datanode127 flink-1.8.1]# ^C [root@datanode127 flink-1.8.1]# bin/yarn-session.sh run -n 2 -tm 2048 -s 4 2019-07-31 11:58:44,326 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: jobmanager.rpc.address, localhost 2019-07-31 11:58:44,327 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: jobmanager.rpc.port, 6123 2019-07-31 11:58:44,327 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: jobmanager.heap.size, 1024m 2019-07-31 11:58:44,327 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: taskmanager.heap.size, 1024m 2019-07-31 11:58:44,327 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: taskmanager.numberOfTaskSlots, 1 2019-07-31 11:58:44,327 INFO org.apache.flink.configuration.GlobalConfiguration - Loading configuration property: parallelism.default, 1 2019-07-31 11:58:44,779 INFO org.apache.flink.runtime.security.modules.HadoopModule - Hadoop user set to root (auth:SIMPLE) 2019-07-31 11:58:44,837 INFO org.apache.hadoop.yarn.client.RMProxy - Connecting to ResourceManager at datanode127/172.16.0.127:8032 2019-07-31 11:58:45,046 INFO org.apache.flink.yarn.AbstractYarnClusterDescriptor - Cluster specification: ClusterSpecification{masterMemoryMB=1024, taskManagerMemoryMB=1024, numberTaskManagers=1, slotsPerTaskManager=1} 2019-07-31 11:58:45,286 WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2019-07-31 11:58:45,300 WARN org.apache.flink.yarn.AbstractYarnClusterDescriptor - The configuration directory ('/data2/flink/flink-1.8.1/conf') contains both LOG4J and Logback configuration files. Please delete or rename one of them. 2019-07-31 11:58:46,808 INFO org.apache.flink.yarn.AbstractYarnClusterDescriptor - Submitting application master application_1564366526843_1821 2019-07-31 11:58:46,828 INFO org.apache.hadoop.yarn.client.api.impl.YarnClientImpl - Submitted application application_1564366526843_1821 2019-07-31 11:58:46,828 INFO org.apache.flink.yarn.AbstractYarnClusterDescriptor - Waiting for the cluster to be allocated 2019-07-31 11:58:46,829 INFO org.apache.flink.yarn.AbstractYarnClusterDescriptor - Deploying cluster, current state ACCEPTED 2019-07-31 11:58:50,594 INFO org.apache.flink.yarn.AbstractYarnClusterDescriptor - YARN application has been deployed successfully. 2019-07-31 11:58:50,961 INFO org.apache.flink.runtime.rest.RestClient - Rest client endpoint started. Flink JobManager is now running on datanode127:35550 with leader id 00000000-0000-0000-0000-000000000000. JobManager Web Interface: http://datanode127:35550