simultaneously launched queries collide on hive intermediate directories
------------------------------------------------------------------------
Key: HIVE-1778
URL: https://issues.apache.org/jira/browse/HIVE-1778
Project: Hive
Issue Type: Bug
Reporter: Joydeep Sen Sarma
we saw one instance of multiple queries for the same user launched in parallel
(from a workflow engine) use the same intermediate directories. which is
obviously super bad but not suprising considering how we allocate them:
Random rand = new Random();
String executionId = "hive_" + format.format(new Date()) + "_" +
Math.abs(rand.nextLong());
Java documentation says: Two Random objects created within the same
millisecond will have the same sequence of random numbers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.