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

Select query gives unpredictable incorrect result when parallelism is greater than 1 [Spark Branch]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • spark-branch
    • None
    • Spark
    • None

    Description

      In SparkClient.java, if the following property is set, unpredictable, incorrect result may be observed.

          sparkConf.set("spark.default.parallelism", "1");
      

      It's suspected that there are some concurrency issues, as Spark may process multiple datasets in a single JVM when parallelism is greater than 1 in order to use multiple cores.

      NO PRECOMMIT TESTS. This is for spark branch only.

      Attachments

        1. HIVE-7372.patch
          1 kB
          Chengxiang Li
        2. HIVE-7372-Spark.1.patch
          1 kB
          Chengxiang Li

        Issue Links

          Activity

            People

              chengxiang li Chengxiang Li
              xuefuz Xuefu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: