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


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.

Reply via email to