当前位置:网站首页>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
边栏推荐
猜你喜欢
【FCOS】FCOS理论知识讲解
linux安装mysql
el-tree设置选中高亮焦点高亮、选中的节点加深背景,更改字体颜色等
el-tree设置利用setCheckedNodessetCheckedKeys默认勾选节点,以及通过setChecked新增勾选指定节点
Cesium加载离线地图和离线地形
PCB制造常用的13种测试方法,你了解几种?
El - table column filter functions, control columns show and hide (effect and easy to implement full marks)
Nacos单机模式的安装与启动
el-tabs(标签栏)的入门学习
El - tree to set focus on selected highlight highlighting, the selected node deepen background and change the font color, etc
随机推荐
MySQL中,对结果或条件进行字符串拼接
PCB制造常用的13种测试方法,你了解几种?
信息学奥赛一本通T1446:素数方阵
SQLServer2019安装(Windows)
MySQL之DQL——查询语言
Docker-compose安装mysql
【干货分享】PCB 板变形原因!不看不知道
信息学奥赛一本通T1453:移动玩具
UniApp 获取当前页面标题(navigationBarTitleText)
关于NOI 2022的报到通知
【IoU loss】IoU损失函数理解
torch.nn.modules.activation.ReLU is not a Module subclass
Chrome 配置samesite=none方式
spark中的bykey
prometheus 监控mysql数据库
信息学奥赛一本通T1447:靶形数独
【云原生 · Kubernetes】搭建Harbor仓库
Redis-记一次docker下使用redis
配置MSTP功能示例
nacos-2.0.3启动报错出现no datasource set的坑