This is the first time I have configured Python and Spark in my system (Windows 10 , 64 bit ,16 GB Ram). I am trying to access a file placed on my Local system desktop through Pyspark code.
I am getting the error like
py4j.protocol.Py4JJavaError: An error occurred while calling o18.partitions.
: org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: file:/C:/Users/Admin/Desktop/sparkRDD.txt "
Command executed is :
I have also attached the screenshot of the error.
Please let me know if there is something that I have missed in my process.
Thanks and Regards,