You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2016/03/04 14:53:59 UTC

spark git commit: [SPARK-13673][WINDOWS] Fixed not to pollute environment variables.

Repository: spark
Updated Branches:
  refs/heads/master 204b02b56 -> e61750824


[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 <ts...@oss.nttdata.co.jp>

Closes #11516 from tsudukim/feature/SPARK-13673.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e6175082
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e6175082
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e6175082

Branch: refs/heads/master
Commit: e617508244b508b59b4debb35cad3258cddbb9cf
Parents: 204b02b
Author: Masayoshi TSUZUKI <ts...@oss.nttdata.co.jp>
Authored: Fri Mar 4 13:53:53 2016 +0000
Committer: Sean Owen <so...@cloudera.com>
Committed: Fri Mar 4 13:53:53 2016 +0000

----------------------------------------------------------------------
 bin/beeline.cmd | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/e6175082/bin/beeline.cmd
----------------------------------------------------------------------
diff --git a/bin/beeline.cmd b/bin/beeline.cmd
index 8ddaa41..02464bd 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 %*


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org