当前位置:网站首页>Spark 的架构与作业提交流程
Spark 的架构与作业提交流程
2022-08-03 05:32:00 【贾斯汀玛尔斯】
提交任务样例
spark-submit \
--master local[5] \
--driver-cores 2 \
--driver-memory 8g \
--executor-cores 4 \
--num-executors 10 \
--executor-memory 8g \ -
-class PackageName.ClassName XXXX.jar \
--name "Spark Job Name" \
InputPath \
OutputPath
- executor-cores —— 每个 executor 使用的内核数,默认为 1,官方建议 2-5 个
- num-executors —— 启动 executors 的数量,默认为 2
- executor-memory —— executor 内存大小,默认 1G
- driver-cores —— driver 使用内核数,默认为 1
- driver-memory —— driver 内存大小,默认 512M
边栏推荐
猜你喜欢
随机推荐
零代码工具拖拽流程图
Content type ‘applicationx-www-form-urlencoded;charset=UTF-8‘ not supported“【已解决】
CISP-PTE真题演示
MySQL中的行锁
MySQL忘记密码怎么办
Getting Started with Chrome Plugin Development
链表之打基础--基本操作(必会)
PHP Composer常用命令积累
MySQL的Replace用法详解
【项目案例】配置小型网络WLAN基本业务示例
pyspark --- count the mode of multiple columns and return it at once
国内首款PCB资料分析软件,华秋DFM使用介绍
【云原生 · Kubernetes】Kubernetes简介及基本组件
Scala 高阶(七):集合内容汇总(上篇)
信息学奥赛一本通T1448:深搜的剪枝技巧 电路维修
torch.nn.modules.activation.ReLU is not a Module subclass
MySQL性能优化(硬件,系统配置,表结构,SQL语句)
10 common data types in MySQL
我的Go+语言初体验——祝福留言小系统,让她也可以感受到你的祝福
Redis-记一次docker下使用redis








