[ https://issues.apache.org/jira/browse/HIVE-7530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brock Noland updated HIVE-7530: ------------------------------- Summary: Go thru the common code to find references to HIVE_EXECUCTION_ENGINE to make sure conditions works with Spark [Spark Branch] (was: Go thru the common code to find references to HIVE_EXECUCTION_ENGINE to make sure conditions works with Spar) > Go thru the common code to find references to HIVE_EXECUCTION_ENGINE to make > sure conditions works with Spark [Spark Branch] > ---------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-7530 > URL: https://issues.apache.org/jira/browse/HIVE-7530 > Project: Hive > Issue Type: Bug > Components: Spark > Affects Versions: spark-branch > Reporter: Xuefu Zhang > Assignee: Na Yang > Attachments: HIVE-7530-spark.patch > > > 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: > {code} > if (!HiveConf.getVar(job, > ConfVars.HIVE_EXECUTION_ENGINE).equals("tez") > && isEmptyPath(job, path, ctx)) { > path = createDummyFileForEmptyPartition(path, job, work, > hiveScratchDir, alias, sequenceNumber++); > } > {code} > We need to make sure the condition still holds after a new execution engine > such as "spark" is introduced. -- This message was sent by Atlassian JIRA (v6.2#6252)