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

Go thru the common code to find references to HIVE_EXECUCTION_ENGINE to make sure conditions works with Spark [Spark Branch]

    XMLWordPrintableJSON

Details

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

    Description

      In common code, such as Utilities.java, I found a lot of references to this conf variable and special handling to a specific engine such as following:

                if (!HiveConf.getVar(job, ConfVars.HIVE_EXECUTION_ENGINE).equals("tez")
                    && isEmptyPath(job, path, ctx)) {
                  path = createDummyFileForEmptyPartition(path, job, work,
                       hiveScratchDir, alias, sequenceNumber++);
      
                }
      

      We need to make sure the condition still holds after a new execution engine such as "spark" is introduced.

      Attachments

        1. HIVE-7530-spark.patch
          2 kB
          Na Yang

        Issue Links

          Activity

            People

              nyang Na Yang
              xuefuz Xuefu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: