Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19808#discussion_r152891440
  
    --- Diff: bin/find-spark-home.cmd ---
    @@ -32,7 +32,7 @@ if not "x%PYSPARK_PYTHON%"=="x" (
     )
     
     rem If there is python installed, trying to use the root dir as SPARK_HOME
    -where %PYTHON_RUNNER% > nul 2>$1
    +where %PYTHON_RUNNER% > nul 2>&1
    --- End diff --
    
    This was a mistake. It should be `&` otherwise creates an empty file called 
`$1`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to