hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1394) do not update transient_lastDdlTime if the partition is modified by a housekeeping operation
Date Tue, 22 Jun 2010 21:02:54 GMT

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

Namit Jain commented on HIVE-1394:
----------------------------------

Some minor comments:

1. If the hint is set, can you throw an error if the partition is not present at compile time

> do not update transient_lastDdlTime if the partition is modified by a housekeeping operation
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1394
>                 URL: https://issues.apache.org/jira/browse/HIVE-1394
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Ning Zhang
>         Attachments: HIVE-1394.patch
>
>
> Currently. purging looks at the hdfs time to see the last time the files got modified.
> It should look at the metastore property instead - these are facebook specific utilities,
which do not require any changes to hive.
> However, in some cases, the operation might be performed by some housekeeping job, which
should not modify the timestamp.
> Since, hive has no way of knowing the origin of the query, it might be a good idea to
add a new hint which specifies that the 
> operation is a cleanup operation, and the timestamp in the metastore need not be touched
for that scenario.

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


Mime
View raw message