flink on yarn的会话模式中yarn-session.sh 参数

yarn-session.sh 是 Apache Flink 在 YARN(Hadoop 的资源管理系统)上启动 Flink 会话(Session)的脚本。通过这个脚本,你可以在 YARN 上提交 Flink 任务,并在一个长时间运行的会话中执行多个作业。下面是 yarn-session.sh 命令的常见参数:

Usage: ./yarn-session.sh [options]

Options:
    -n,--container            Number of YARN container to allocate (=Number of Task Managers)
    -tm,--taskManagerMemory   Memory per TaskManager container (in megabytes or like '476m')
    -s,--slots                Number of slots per TaskManager
    -jm,--jobManagerMemory    Memory per JobManager container (in megabytes or like '476m')
    -jmoff,--jobManagerOffHeap  Memory per JobManager container (off heap, in megabytes or like '476m')
    -d,--detached                  Start detached
    -j,--job                  Application-specific options
    -jmgh,--jobManagerHeap    Explicitly set 

你可能感兴趣的:(hadoop,flink,flink,大数据)