- 链接地址:https://blog.csdn.net/Xw_Classmate/article/details/53408245
- 链接标题:Spark源码解读之SparkContext初始化_sparkcontext hadoopconfiguration-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:5614
文章浏览阅读8.4k次,点赞2次,收藏7次。SparkContext初始化是Driver应用程序提交执行的前提,这里以local模式来了解SparkContext的初始化过程。本文以val conf = new SparkConf().setAppName("mytest").setMaster("local[2]")val sc = new SparkContext(conf)为例,打开debug模式,然后进行分析。_sparkcontext hadoopconfiguration
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除