1.查看命令
$FLINK_HOME/bin/yarn-session.sh
2.参数说明
Usage:
Required
-n,--container <arg> Number of YARN container to allocate (=Number of TaskManagers)
Optional
-D <arg> Dynamic properties
-d,--detached Start detached
-id,--applicationId <arg> Attach to running YARN session
-j,--jar <arg> Path to Flink jar file
-jm,--jobManagerMemory <arg> MemoryforJobManagerContainer [inMB]
-n,--container <arg> Number of YARN container to allocate (=Number of TaskManagers)
-nm,--name <arg> Set a custom name for the application on YARN-q,--query Display available YARN resources (memory, cores)
-qu,--queue <arg> SpecifyYARN queue.
-s,--slots <arg> Number of slots per TaskManager-st,--streaming StartFlinkin streaming mode
-t,--ship <arg> Ship files in the specified directory (t for transfer)
-tm,--taskManagerMemory <arg> Memory per TaskManagerContainer [inMB]
-z,--zookeeperNamespace <arg> Namespace to create the Zookeeper subpaths for high availability mode