Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21035

Race condition in SparkUtilities#getSparkSession

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0-alpha-1
    • Spark
    • None

    Description

      It can happen, that when in one given session, multiple queries are executed, that due to a race condition, multiple spark application master gets kicked off.
      In this case, the one that started earlier, will not be killed, when the hive session closes, consuming resources.

      Attachments

        1. HIVE-21035.01.patch
          7 kB
          Antal Sinkovits
        2. HIVE-21035.02.patch
          7 kB
          Antal Sinkovits

        Activity

          People

            asinkovits Antal Sinkovits
            asinkovits Antal Sinkovits
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: