[ https://issues.apache.org/jira/browse/HIVE-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bennie Schut updated HIVE-1019: ------------------------------- Attachment: HIVE-1019-4.patch On Context I've looked at making the id generation more generic so like this: {noformat} public static String generateExecutionId() { return generateId("hive"); } /** * Generate a unique planId. */ public static String generatePlanId() { return generateId("plan"); } /** * Generate a unique hive.session.id * @return unique session id string. */ public static String generateSessionId() { return generateId(System.getProperty("user.name")); } private static String generateId(String type) { SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd_HH-mm-ss_SSS"); return type + "_" + format.format(new Date()) + "_" + UUID.randomUUID(); } {noformat} Ok perhaps you can take a look at what I have now and see if it's ok? > java.io.FileNotFoundException: HIVE_PLAN (No such file or directory) > -------------------------------------------------------------------- > > Key: HIVE-1019 > URL: https://issues.apache.org/jira/browse/HIVE-1019 > Project: Hadoop Hive > Issue Type: Bug > Affects Versions: 0.6.0 > Reporter: Bennie Schut > Assignee: Bennie Schut > Priority: Minor > Fix For: 0.6.0 > > Attachments: HIVE-1019-1.patch, HIVE-1019-2.patch, HIVE-1019-3.patch, > HIVE-1019-4.patch, HIVE-1019.patch, stacktrace2.txt > > > I keep getting errors like this: > java.io.FileNotFoundException: HIVE_PLAN (No such file or directory) > and : > java.io.IOException: cannot find dir = > hdfs://victoria.ebuddy.com:9000/tmp/hive-dwh/801467596/10002 in > partToPartitionInfo! > when running multiple threads with roughly similar queries. > I have a patch for this which works for me. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.