如果有人回答我的问题,我将感激不尽.我的部分代码是:
public static void main(String[] args) {
// TODO Auto-generated method stub
SparkConf conf= new SparkConf().setAppName("AirPollution").setMaster("yarn");
SparkContext context=new SparkContext(conf);
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个错误?
Exception in thread "main" org.apache.spark.SparkException: Could not parse Master URL: 'yarn'
Run Code Online (Sandbox Code Playgroud)