ERROR spark.SparkContext: Error initializing SparkContext

ERROR spark.SparkContext: Error initializing SparkContext.

org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby

解决方法

yarn-site.xml

配置


yarn.resourcemanager.store.class
org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore

你可能感兴趣的:(ERROR spark.SparkContext: Error initializing SparkContext)