Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 09-01-2013 04:32 AM - edited 09-16-2022 01:47 AM
Hi,
I would like to run a script (~200 lines) but have problems.
If I manually run each statement in the script, it is mostly fine. But if I use -f option to run this script in command line, it fails after 5~10 statement and shows the following error message:
ERROR: MetaException: javax.jdo.JDOObjectNotFoundException: No such database row
FailedObject:6[OID]org.apache.hadoop.hive.metastore.model.MDatabase
NestedThrowables:
org.datanucleus.exceptions.NucleusObjectNotFoundException: No such database row
Sometimes, this problem occurs in impala shell. But I can easily solve this problem by running the same statement again. However, I have no idea how to solve this problem in script mode.
Based on the above observation, I think I can mitigate this problem by leaving some buffer time between statement executions. Or Maybe I can change configurations?
I am using Impala 1.0.1. (Actually in this VM: http://4zoas.com/cloudera-ccp-data-science-vm1-cdh4.3f-vmware.zip)
Any ideas would be greatly appreciated.
Created on 09-02-2013 05:56 AM - edited 09-02-2013 05:57 AM
Finally, I found a workaroud.
I wrote a python script which reads all statements from the script and slowly feeds each statement into "impala-shell -q".
Created on 09-02-2013 05:56 AM - edited 09-02-2013 05:57 AM
Finally, I found a workaroud.
I wrote a python script which reads all statements from the script and slowly feeds each statement into "impala-shell -q".
Created 09-27-2013 02:06 PM
This certainly seems like it's worth filing a bug. Could you submit a bug with a test case at issues.cloudera.org?