錯誤代碼:

完整錯誤信息為:
Py4JJavaError: An error occurred while calling z:org.apache.spark.api.python.PythonRDD.collectAndServe.
: org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: file:/C:/Users/30565/Documents/Python Scripts/README.md
這個錯誤信息告訴我們:README.md的文件不存在,那就需要把文件路徑補齊了
解決方案:
補全路徑

