You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2015/05/29 04:30:36 UTC

[jira] [Updated] (HIVE-7530) Go thru the common code to find references to HIVE_EXECUCTION_ENGINE to make sure conditions works with Spark [Spark Branch]

     [ https://issues.apache.org/jira/browse/HIVE-7530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xuefu Zhang updated HIVE-7530:
------------------------------
    Fix Version/s:     (was: spark-branch)
                   1.1.0

> 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
>             Fix For: 1.1.0
>
>         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.3.4#6332)