当前位置:网站首页>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
边栏推荐
- empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType),
- torch.nn.modules.activation.ReLU is not a Module subclass
- 【云原生 · Kubernetes】搭建Harbor仓库
- 【云原生 · Kubernetes】Kubernetes简介及基本组件
- 一家可靠的HDI板厂,需要具备哪些基本条件?
- ES6中 Symbol 的基础学习,迭代器和生成器的基本用法
- PostMan测试接口-----上传文件、导出excel
- Embedding的两种实现方式torch代码
- MySQL的安装(详细教程)
- MySQL 日期时间类型精确到毫秒
猜你喜欢
关于Attention的超详细讲解
【云原生 · Kubernetes】搭建Harbor仓库
linux安装mysql
postman配置中文
【OpenStack云平台】搭建openstack云平台
Nacos单机模式的安装与启动
torch.nn.modules.activation.ReLU is not a Module subclass
【干货分享】PCB 板变形原因!不看不知道
Composer require 报错 Installation failed, reverting ./composer.json and ./composer.lock to their ...
【设计指南】避免PCB板翘,合格的工程师都会这样设计!
随机推荐
关于Attention的超详细讲解
2021新版idea过滤无用文件.idea .iml
Cesium加载离线地图和离线地形
记一次postgresql中使用正则表达式
Chrome configuration samesite=none method
pyspark --- 空串替换为None
ES6中 Symbol 的基础学习,迭代器和生成器的基本用法
Content type ‘applicationx-www-form-urlencoded;charset=UTF-8‘ not supported“【已解决】
docker-compose部署mysql
el-table gets the data attribute of a row in the read data table
nvm 卸载详细流程
MySQL的Replace用法详解
linux安装redis
【EA Price strategy OC1】以实时价格为依据的EA,首月翻仓!】
【云原生 · Kubernetes】搭建Harbor仓库
保姆级讲解Transformer
【DIoU CIoU】DIoU和CIoU损失函数理解及代码实现
10 common data types in MySQL
Composer require 报错 Installation failed, reverting ./composer.json and ./composer.lock to their ...
MySQL之DQL——查询语言