Now want to implement such a logic:
Single, generate a random number of mysql query, if the query, further to the spark for more information on the cluster,
The program written, submitted to the cluster can run, but think if wrong:
Is not submitted to the cluster, each node will be distributed to generate its own random number, and then each node each query mysql?
I want to implement the logic of how to do?
CodePudding user response:
You know what code execution on the Driver, what on the Executor implementation will understand,
CodePudding user response: