diff options
Diffstat (limited to 'bin/spark-shell.cmd')
-rwxr-xr-x | bin/spark-shell.cmd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/spark-shell.cmd b/bin/spark-shell.cmd index 2ee60b4e2a..8f90ba5a0b 100755 --- a/bin/spark-shell.cmd +++ b/bin/spark-shell.cmd @@ -17,6 +17,7 @@ rem See the License for the specific language governing permissions and rem limitations under the License. rem -set SPARK_HOME=%~dp0.. +rem This is the entry point for running Spark shell. To avoid polluting the +rem environment, it just launches a new cmd to do the real work. -cmd /V /E /C %SPARK_HOME%\bin\spark-submit.cmd --class org.apache.spark.repl.Main %* spark-shell +cmd /V /E /C %~dp0spark-shell2.cmd %* |