<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Anyone successfully run an impala script? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Anyone-successfully-run-an-impala-script/m-p/1173#M184</link>
    <description>&lt;P&gt;Finally, I found a workaroud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote a python script which reads all statements from the script and slowly feeds each statement into "impala-shell -q".&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2013 12:57:27 GMT</pubDate>
    <dc:creator>ccshih</dc:creator>
    <dc:date>2013-09-02T12:57:27Z</dc:date>
    <item>
      <title>Anyone successfully run an impala script?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Anyone-successfully-run-an-impala-script/m-p/1163#M183</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to run a script (~200 lines) but have problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; line-height: 14px;"&gt;If I manually run each statement in the script, it is&amp;nbsp;mostly&amp;nbsp;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:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; line-height: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ERROR: MetaException: javax.jdo.JDOObjectNotFoundException: No such database row&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FailedObject:6[OID]org.apache.hadoop.hive.metastore.model.MDatabase&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NestedThrowables:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;org.datanucleus.exceptions.NucleusObjectNotFoundException: No such database row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the above observation, I think I can mitigate this problem by &amp;nbsp;leaving some buffer time between statement executions. Or Maybe I can change configurations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Impala 1.0.1. (Actually in this VM:&amp;nbsp;&lt;A href="http://4zoas.com/cloudera-ccp-data-science-vm1-cdh4.3f-vmware.zip)" target="_blank"&gt;http://4zoas.com/cloudera-ccp-data-science-vm1-cdh4.3f-vmware.zip)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; line-height: 14px;"&gt;Any ideas would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; line-height: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:47:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Anyone-successfully-run-an-impala-script/m-p/1163#M183</guid>
      <dc:creator>ccshih</dc:creator>
      <dc:date>2022-09-16T08:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone successfully run an impala script?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Anyone-successfully-run-an-impala-script/m-p/1173#M184</link>
      <description>&lt;P&gt;Finally, I found a workaroud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote a python script which reads all statements from the script and slowly feeds each statement into "impala-shell -q".&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2013 12:57:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Anyone-successfully-run-an-impala-script/m-p/1173#M184</guid>
      <dc:creator>ccshih</dc:creator>
      <dc:date>2013-09-02T12:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone successfully run an impala script?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Anyone-successfully-run-an-impala-script/m-p/1865#M185</link>
      <description>&lt;P&gt;This certainly seems like it's worth filing a bug. Could you submit a bug with a test case at issues.cloudera.org?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2013 21:06:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Anyone-successfully-run-an-impala-script/m-p/1865#M185</guid>
      <dc:creator>John Russell</dc:creator>
      <dc:date>2013-09-27T21:06:37Z</dc:date>
    </item>
  </channel>
</rss>

