Skip to content
Snippets Groups Projects
Commit e6175082 authored by Masayoshi TSUZUKI's avatar Masayoshi TSUZUKI Committed by Sean Owen
Browse files

[SPARK-13673][WINDOWS] Fixed not to pollute environment variables.

## What changes were proposed in this pull request?

This patch fixes the problem that `bin\beeline.cmd` pollutes environment variables.
The similar problem is reported and fixed in https://issues.apache.org/jira/browse/SPARK-3943, but `bin\beeline.cmd` seems to be added later.

## How was this patch tested?

manual tests:
  I executed the new `bin\beeline.cmd` and confirmed that %SPARK_HOME% doesn't remain in the command prompt.

Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp>

Closes #11516 from tsudukim/feature/SPARK-13673.
parent 204b02b5
No related branches found
No related tags found
No related merge requests found
......@@ -17,5 +17,4 @@ rem See the License for the specific language governing permissions and
rem limitations under the License.
rem
set SPARK_HOME=%~dp0..
cmd /V /E /C "%SPARK_HOME%\bin\spark-class.cmd" org.apache.hive.beeline.BeeLine %*
cmd /V /E /C "%~dp0spark-class.cmd" org.apache.hive.beeline.BeeLine %*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment