部分报错如下: Traceback (most recent call last): File /home/cisco/spark-mongo-test.py, line 7, in df = spark.read.format(com.mongodb.spark.sql.DefaultSource).load() File /home/cisco/spark-2.2.0-bin-hadoop2.7/python/lib/pyspark.zip/pyspark/sql/readwriter.py, line 165, in load