本地idea运行spark,A master URL must be set in your configuration

原谅我很白 

Run->Edit Configurations

 当然也可以SparkSession.master("local"),不过有一个缺点,如果部署到yarn上,这行代码要注释点(不知道java有没有.net中条件编译#debug这种方式)

 

posted on 2018-07-28 10:52  糖炒栗子踩坑记  阅读(2725)  评论(0编辑  收藏  举报

导航