[ 
https://issues.apache.org/jira/browse/HIVE-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830036#action_12830036
 ] 

Bennie Schut commented on HIVE-1019:
------------------------------------

Hi Zheng,

1. I never ran it before. That's a lot of warnings. I'll use it from now on in 
my editor.

2. Ah yes it needs a bit of refactoring. I was trying to do a quick and dirty 
fix to get the job done.
To give you some background, on my project we are using JdbcTemplates with dbcp 
and running multiple queries concurrently. We for instance import data from 1 
load table into multiple partitions at the same time. So those threads start 
roughly at the same time and look roughly the same making this an issue.

2.1 Sounds like a good idea.

2.2 Would you prefer Context.generateExecutionId() way of doing it? it 
theoretically can still collide although extremely unlikely. 
Using a UUID prevents this completely (although at a price). Either way is fine 
by me.

Would you like me to make these changes or would this be part of the larger 
issue?

Thanks.

> 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.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.

Reply via email to