Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

Hive Metadata AssertionError: Invalid decRef when refCount is 0


Hello Everyone - We have Hive job which performs a Merge operation and encountered below error:


org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.AssertionError: Invalid decRef when refCount is 0: 0xc7917fe(0)


I have gone through the below JIRA, as it mentioned we are on HDP 3.1.0:


Any pointers is appreciated.


Expert Contributor

@Priyanka26 Can you please provide us the below details?

1) Are you using LLAP to run queries?

2) Complete stack trace

3) Your HDP version.


Without the complete stack trace we can't provide you the correct suggestion to fix the issue. From your description i guess you are using LLAP. If so you can try setting the below properties and check whether it helps you or not.



set hive.llap.object.cache.enabled=false;


Please try and see whether it helps or not. If not kindly provide the complete stack trace.


Please "Accept As Solution" if it is helpful to you.



Shobika S

Community Manager

@Priyanka26, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.  If you are still experiencing the issue, can you provide the information @shobikas has requested?


Vidya Sargur,
Community Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: