You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (Jira)" <ji...@apache.org> on 2020/04/20 20:10:00 UTC

[jira] [Resolved] (SPARK-31234) ResetCommand should not wipe out all configs

     [ https://issues.apache.org/jira/browse/SPARK-31234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li resolved SPARK-31234.
-----------------------------
    Resolution: Fixed

> ResetCommand should not wipe out all configs
> --------------------------------------------
>
>                 Key: SPARK-31234
>                 URL: https://issues.apache.org/jira/browse/SPARK-31234
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.2, 2.1.3, 2.2.3, 2.3.4, 2.4.5, 3.1.0
>            Reporter: Kent Yao
>            Assignee: Kent Yao
>            Priority: Blocker
>             Fix For: 2.4.6, 3.0.0
>
>
> Currently, ResetCommand clear all configurations, including sql configs, static sql configs and spark context level configs.
> for example:
> ```
> spark-sql> set xyz=abc;
> xyz	abc
> spark-sql> set;
> spark.app.id	local-1585055396930
> spark.app.name	SparkSQL::10.242.189.214
> spark.driver.host	10.242.189.214
> spark.driver.port	65094
> spark.executor.id	driver
> spark.jars
> spark.master	local[*]
> spark.sql.catalogImplementation	hive
> spark.sql.hive.version	1.2.1
> spark.submit.deployMode	client
> xyz	abc
> spark-sql> reset;
> spark-sql> set;
> spark-sql> set spark.sql.hive.version;
> spark.sql.hive.version	1.2.1
> spark-sql> set spark.app.id;
> spark.app.id	<undefined>
> ```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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