本地idea运行spark,A master URL must be set in your configuration
原谅我很白
Run->Edit Configurations
当然也可以SparkSession.master("local"),不过有一个缺点,如果部署到yarn上,这行代码要注释点(不知道java有没有.net中条件编译#debug这种方式)
原谅我很白
Run->Edit Configurations
当然也可以SparkSession.master("local"),不过有一个缺点,如果部署到yarn上,这行代码要注释点(不知道java有没有.net中条件编译#debug这种方式)