You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2009/12/18 01:14:18 UTC
[jira] Commented: (HIVE-789) Add get_unique_id() call to metastore
[ https://issues.apache.org/jira/browse/HIVE-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792249#action_12792249 ]
Todd Lipcon commented on HIVE-789:
----------------------------------
I'd be fine if you closed this as wontfix - it was depended on by some stuff a while ago, but if you have better solutions, I'm all for them :)
> 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
> 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.