[ 
https://issues.apache.org/jira/browse/HIVE-7530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101596#comment-14101596
 ] 

Brock Noland commented on HIVE-7530:
------------------------------------

+1


> Go thru the common code to find references to HIVE_EXECUCTION_ENGINE to make 
> sure conditions works with Spark
> -------------------------------------------------------------------------------------------------------------
>
>                 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)

Reply via email to