Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31234

ResetCommand should not wipe out all configs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0.2, 2.1.3, 2.2.3, 2.3.4, 2.4.5, 3.1.0
    • 2.4.6, 3.0.0
    • SQL
    • None

    Description

      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>
      ```

      Attachments

        Activity

          People

            Qin Yao Kent Yao 2
            Qin Yao Kent Yao 2
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: