hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-789) Add get_unique_id() call to metastore
Date Mon, 24 Aug 2009 23:06:59 GMT

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

Todd Lipcon commented on HIVE-789:
----------------------------------

Forgot to mention - this patch is against branch-0.4.0, though it shouldn't be hard to apply
the same thing to trunk. Assuming this seems like a reasonable way to fix the races in HIVE-718
I'll port it to trunk.

> Add get_unique_id() call to metastore
> -------------------------------------
>
>                 Key: HIVE-789
>                 URL: https://issues.apache.org/jira/browse/HIVE-789
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Todd Lipcon
>             Fix For: 0.4.0
>
>         Attachments: hive-789.patch
>
>
> As noted in HIVE-718, it can be tough to avoid race conditions when multiple clients
are trying to move files into the same directory. This patch adds a get_unique_id() call to
the metastore that returns the current value from an incrementing JDO Sequence so that clients
can avoid some races without locks.

-- 
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