flink常用参数

命令缩写命令实践作用中文含义含义常用
 -C--classpath <url> -c com.mob.flink.entry 需要指定的main方法的类JAR文件没有在其清单中指定类。向集群中所有节点上的每个用户代码类加载器添加一个URL。路径必须指定协议(例如file://),并且在所有节点上都可以访问(例如通过NFS共享)。您可以多次使用此选项以指定多个URL。该协议必须得到{@link java.net.URLClassLoader}的支持。JAR file does not specify the class in its manifest. Adds a URL to each user code classloader  on all nodes in the cluster. The paths must specify a protocol (e.g. file://) and be accessible on all nodes (e.g. by means of a NFS share). You can use this option multiple times for specifying more than one URL. The protocol must be supported by the {@link java.net.URLClassLoader}.1
-D--detached--detached在后台运行如果存在,则以分离模式运行作业If present, runs the job in detached mode1
 -n--allowNonRestoredState--allowNonRestoredState如果复原的程序,对逻辑做了修改,比如删除了算子可以指定allowNonRestoredState参数复原。允许跳过无法恢复的保存点状态。如果您从程序中删除了保存点触发时属于程序一部分的操作符,则需要允许这样做。Allow to skip savepoint state that cannot be restored. You need to allow this if you removed an operator from your program that was part of the program when the savepoint was triggered.1
 -p-- <parallelism>-p 50job需要指定env的并行度,这个一般都需要设置。运行程序的并行度。可选标志,用于覆盖配置中指定的默认值。The parallelism with which to run the program. Optional flag to override the default value specified in the configuration.1
-yD <property=value>

  -yD taskmanager.memory.

managed.size=256m \

为给定的属性使用值use value for given property1
-yjm--yarnjobManagerMemory <arg>-yjm 1024jobmanager的内存JobManager容器的内存,可选单位(默认:MB)Memory for JobManager Container with optional unit (default: MB)1
-ynm--yarnname <arg>--yarnname ${MOBSSP_ENV}application的名称在YARN上为应用程序设置自定义名称Set a custom name for the application on YARN1
-ys--yarnslots <arg>-ys 1分配的slots个数每个TaskManager的插槽数Number of slots per TaskManager1
-ytm--yarntaskManagerMemory <arg>-ytm 2048  taskmanager的内存每个TaskManager容器的内存,可选单位(默认:MB)Memory per TaskManager Container with optional unit (default: MB)1
-m--jobmanager <arg> -m yarn-cluster \yarn-cluster集群要连接到的JobManager地址。使用此标志可以连接到与配置中指定的JobManager不同的JobManager。注意:只有当高可用性配置为NONE时,才会考虑该选项。Address of the JobManager to which to
connect. Use this flag to connect to a
different JobManager than the one specified
in the configuration. Attention: This
option is respected only if the
high-availability configuration is NONE.
1
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值