您现在的位置是:网站首页> 编程资料编程资料

Spark-shell批量命令执行脚本的方法_linux shell_

2023-05-26 427人已围观

简介 Spark-shell批量命令执行脚本的方法_linux shell_

批量执行spark-shell命令,并指定提交参数

 #!/bin/bash source /etc/profile exec $SPARK_HOME/bin/spark-shell --queue tv --name spark-sql-test --executor-cores 8 --executor-memory 8g --num-executors 8 --conf spark.cleaner.ttl=240000 <

以上这篇Spark-shell批量命令执行脚本的方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。

-六神源码网