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

Fix STS scheduler pool correct delivery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0, 2.4.0
    • 3.0.0
    • SQL
    • None

    Description

      The user sets the value of spark.sql.thriftserver.scheduler.pool.
      Spark thrift server saves this value in the LocalProperty of threadlocal type, but does not clean up after running, causing other sessions to run in the previously set pool name.

       

      For example

      The second session does not manually set the pool name. The default pool name should be used, but the pool name of the previous user's settings is used. This is incorrect.

       

       

      Attachments

        1. error_session.png
          139 kB
          dzcxzl
        2. error_stage.png
          53 kB
          dzcxzl

        Issue Links

          Activity

            People

              dzcxzl dzcxzl
              dzcxzl dzcxzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: