From e617508244b508b59b4debb35cad3258cddbb9cf Mon Sep 17 00:00:00 2001 From: Masayoshi TSUZUKI Date: Fri, 4 Mar 2016 13:53:53 +0000 Subject: [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 Closes #11516 from tsudukim/feature/SPARK-13673. --- bin/beeline.cmd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/beeline.cmd b/bin/beeline.cmd index 8ddaa41996..02464bd088 100644 --- a/bin/beeline.cmd +++ b/bin/beeline.cmd @@ -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 %* -- cgit v1.2.3