You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/12/03 00:56:13 UTC

[jira] Created: (HIVE-1826) StatsTask updates the table/partition object leaving a inconsistent version in hooks

StatsTask updates the table/partition object leaving a inconsistent version in hooks
------------------------------------------------------------------------------------

                 Key: HIVE-1826
                 URL: https://issues.apache.org/jira/browse/HIVE-1826
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
            Reporter: Namit Jain
            Assignee: Ning Zhang




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1826) StatsTask updates the table/partition object leaving a inconsistent version in hooks

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966357#action_12966357 ] 

Namit Jain commented on HIVE-1826:
----------------------------------

The inputs and outputs from the ReadEntity and WriteEntity are passed to the hooks.
However, the StatsTask may have updated these objects. 
Isn't it possible that the hooks (post execution) will see a stale version of this data ?
And, if these hooks update these objects and write them back to the metastore, 
the Stats changes will be lost.

> StatsTask updates the table/partition object leaving a inconsistent version in hooks
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-1826
>                 URL: https://issues.apache.org/jira/browse/HIVE-1826
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.