视频分享地址: https://space.b|

明月照江江

园龄:7年4个月粉丝:34关注:0

Yarn上运行spark-shell和spark-sql命令行

spark-shell On Yarn

spark-shell \
--master yarn-client \
--executor-memory 1G \
--num-executors 10

spark-sql On Yarn

spark-sql \
--master yarn \
--executor-memory 1G \
--num-executors 10

spark-sql显示表头

spark-sql \
--master yarn \
--executor-memory 1G \
--num-executors 10 \
--hiveconf hive.cli.print.header=true

本文作者:明月照江江

本文链接:https://www.cnblogs.com/gradyblog/p/16179842.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   明月照江江  阅读(428)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起