AttributeError: ‘SparkConf’ object has no attribute ‘_get_object_id’ 修改为SparkContext(conf=conf) 参考资料 https://issues.apache.org/jira/browse/SPARK-2003