Opinion on spark-class script simplification and posix compliance

2015-07-28 Thread Félix-Antoine Fortin
Hi, Out of curiosity, I have tried to replace the dependence on bash by sh in the different scripts to launch Spark daemons and jobs. So far, most scripts work with sh, except bin/spark-class. The culprit is the while loop that compose the final command by parsing the output of launcher library.

Re: Opinion on spark-class script simplification and posix compliance

2015-07-28 Thread Marcelo Vanzin
On Tue, Jul 28, 2015 at 12:13 PM, Félix-Antoine Fortin felix-antoine.for...@calculquebec.ca wrote: The while loop cannot be executed with sh, while the single line can be. Since on my system, sh is simply a link on bash, with some options activated, I guess this simply means that the while