Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> unbalanced transaction calls


Copy link to this message
-
Re: unbalanced transaction calls
Could you try to make transaction related methods synchronized?

It's openTransaction/commitTransaction/isActiveTransaction/rollbackTransaction
on ObjectStore.java

2013/2/22 Hemanth Yamijala <[EMAIL PROTECTED]>:
> Hi,
>
> We are running into the same problem as well. Is there any clue what could
> be wrong ?
>
> Thanks
> hemanth
>
>
> On Wed, Feb 6, 2013 at 1:51 AM, James Warren
> <[EMAIL PROTECTED]> wrote:
>>
>> As part of our daily workflow, we're running a few hundred hive
>> queries that are coordinated through oozie.  Recently we're
>> encountering issues where on average a job or two fails - and never
>> the same query.  The observed error is:
>>
>> FAILED: Error in metadata: java.lang.RuntimeException:
>> commitTransaction was called but openTransactionCalls = 0. This
>> probably indicates that there are unbalanced calls to
>> openTransaction/commitTransaction
>>
>> which I've seen was referred to in HIVE-1760 but patched in 0.7.
>>
>> We're running Hive 0.9 (from CDH 4.1 - will redirect to the Cloudera
>> lists if that is a more appropriate form) - any ideas / suggestions
>> where I should start looking?
>>
>> cheers,
>> -James
>
>