Abnormal spark articles - cluster model can not print

When running on a cluster spark of RDD were foreach (print) does not print anything, this is how it happened?

This is because running on the respective worker RDD, the foreach RDD Partition is operating on individual worker to be printed is printed on the worker terminal, the node does not print the driving

Guess you like

Origin www.cnblogs.com/yanshw/p/12035694.html