[
https://issues.apache.org/jira/browse/HIVE-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868884#action_12868884
]
John Sichi commented on HIVE-1350:
----------------------------------
Random with no args is seeded by current time in millis, so when run from two
different JVM's there's still a tiny chance that we can end up with the same
query ID. If we want to avoid that, we can use UUID instead:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html
But if we only care about uniqueness within the same JVM, then +1.
> hive.query.id is not unique
> ----------------------------
>
> Key: HIVE-1350
> URL: https://issues.apache.org/jira/browse/HIVE-1350
> Project: Hadoop Hive
> Issue Type: Bug
> Reporter: Namit Jain
> Assignee: Namit Jain
> Attachments: hive.1350.1.patch
>
>
> if commands are executed by the same user within a second
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.