Hi there,
When reading Spark on YARN code, I have one question regarding prepareCommand 
in WorkerRunnableUtil:
This function is used to build command to run in executor, why doesn't it 
follow the same way as ExectorRunner(Standalone mode) where the "run" script  
is used to run the command?  Is there any special consideration to choose a 
different way? 
The reason I ask this  question is we have already put some stuff in the run 
script such as classpath, if we can use the same way, we can just use the same 
script.
Thanks.

                                          

Reply via email to