在进行flink on yarn 任务的时候,hdfs上有大量的jar包需要下载,yarn会报如下错误,请问有什么办法可以解决吗?flink on yarn 采用 application 模式。
Exception message: Cannot run program "bash" (in directory "/hadoop/dhadoop/hadoop-2.9.2/data/tmp/nm-local-dir/usercache/root/appcache/application_1676528338653_0002/container_1676528338653_0002_01_000001"): error=7, Argument list too long
For more detailed output, check the application tracking page: http://hadoop102:8088/cluster/app/application_1676528338653_0002 Then click on links to logs of each attempt.
. Failing the application.
个人分析,是报错的原因是由于这个,但是暂时没有找到解决的办法,希望有人可以帮助,谢谢