Skip to content

减少提交任务需要传递的参数 #929

@lvyanquan

Description

@lvyanquan

Development Task

现在只有通过bin/start-chunjun脚本来启动任务,需要传递的参数项目比较多,容易出错。

bin/start-chunjun \
	-mode yarn-per-job \
	-jobType sync \
	-job chunjun-examples/json/stream/stream.json \
	-chunjunDistDir chunjun-dist  \
	-flinkConfDir $FLINK_HOME/conf \
	-hadoopConfDir $HADOOP_HOME/etc/hadoop \
	-flinkLibDir $FLINK_HOME/lib \
	-confProp "{\"flink.checkpoint.interval\":60000,\"yarn.application.queue\":\"default\"}" \ 

而且默认是后台启动,看不到日志,不太友好,希望通过不同的脚本或者预先设置环境变量的方式减少启动参数。

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions