You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2014/04/06 02:03:15 UTC

[jira] [Updated] (HIVE-6850) For FetchOperator, Driver uses the valid transaction list from the previous query

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

Owen O'Malley updated HIVE-6850:
--------------------------------

    Attachment: HIVE-6850.patch

This patch moves the code to get a list of valid transactions before the command is parsed. Thus the transactions are correct when the fetch operator runs.

> For FetchOperator, Driver uses the valid transaction list from the previous query
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-6850
>                 URL: https://issues.apache.org/jira/browse/HIVE-6850
>             Project: Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Alan Gates
>            Assignee: Owen O'Malley
>            Priority: Blocker
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6850.patch
>
>
> The problem is two fold:
> * FetchTask.initialize, which is called during parsing of the query, converts the HiveConf it is given into a JobConf by copying it.
> * Driver.recordValidTxns, which runs after parsing, adds the valid transactions to the HiveConf.
> Thus fetch operators will use the transactions from the previous command.



--
This message was sent by Atlassian JIRA
(v6.2#6252)