file not found when you use the Spark textFile read local files

The reason the configuration in my Spark is a cluster, each node must work, must find their own local file node, so the corresponding file path needs to be in the presence of each node.

 

Guess you like

Origin www.cnblogs.com/yaoyu19960106/p/11027283.html