<?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: puthiveql error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207141#M66210</link>
    <description>&lt;P&gt;If it works with a test file then it has to be a syntax error in your real data. Unfortunately without seeing the real statements there isn't anyway for us to troubleshoot. I'd try running some of the sql statements from the flowfile in beeline and see if you get a better error.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2017 00:24:29 GMT</pubDate>
    <dc:creator>sweeks</dc:creator>
    <dc:date>2017-08-16T00:24:29Z</dc:date>
    <item>
      <title>puthiveql error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207136#M66205</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am getting error when inserting into hive tables using puthiveql processor.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Scenario:&lt;/P&gt;&lt;P&gt;I have a file, which I managed to convert in to INSERT INTO statement ( I copied it to a location to see if any syntax mistakes are there, found no errors).&lt;/P&gt;&lt;P&gt;Assume: INSERT INTO mytable values ('a', '', 'c', '', 'd');&lt;/P&gt;&lt;P&gt;when I send the above to puthive ql, I am getting the below error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="23496-puthiveqlerror.jpg" style="width: 521px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16986iFCC2335357176597/image-size/medium?v=v2&amp;amp;px=400" role="button" title="23496-puthiveqlerror.jpg" alt="23496-puthiveqlerror.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I thought it is because of the ";" in the end of insert into statement, so I removed it, then I am getting the below error&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="23495-puthiveqlerrorwithoutsemicolon.jpg" style="width: 520px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16987i6A3E1477C85B02BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="23495-puthiveqlerrorwithoutsemicolon.jpg" alt="23495-puthiveqlerrorwithoutsemicolon.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6971iBD7E9C9F6A450090/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="puthiveqlerror.jpg" title="puthiveqlerror.jpg" /&gt;</description>
      <pubDate>Sun, 18 Aug 2019 04:37:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207136#M66205</guid>
      <dc:creator>mark_hadoop</dc:creator>
      <dc:date>2019-08-18T04:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: puthiveql error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207137#M66206</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt; can you help me here please&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 21:26:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207137#M66206</guid>
      <dc:creator>mark_hadoop</dc:creator>
      <dc:date>2017-08-15T21:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: puthiveql error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207138#M66207</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/23208/hadoopuserhadoop.html" nodeid="23208"&gt;@Hadoop User&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am unfortunately not a Hive or Hadoop Guru. Both errors above are being thrown by the Hive and Hadoop client libraries that these processors use and not by NiFi itself.&lt;/P&gt;&lt;P&gt;Hopefully the above log lines are followed by full stack traces in the nifi-app.log.  If not, try enabling DEBUG logging to see fi you can get a stack trace output.  That stack trace may provide the necessary details to help diagnose what is causing the issue.&lt;/P&gt;&lt;P&gt;Hopefully a Hive or Hadoop Guru will then be able to provide some assistance here.&lt;/P&gt;&lt;P&gt;I also suggest providing the details for the HiveConnectionPool controller service you setup that is being used by this PutHiveQl processor.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 21:39:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207138#M66207</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-08-15T21:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: puthiveql error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207139#M66208</link>
      <description>&lt;P&gt;There has to be an error in your sql statement. The insert statement is in your flowfile correct? Can you create a dummy text file with insert statements that demonstrates the error. If not then there has to be a syntax error in the actual insert statement. I'll also need a screenshot of your PutHiveQL configuration.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 22:19:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207139#M66208</guid>
      <dc:creator>sweeks</dc:creator>
      <dc:date>2017-08-15T22:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: puthiveql error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207140#M66209</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/23241/sweeks.html" nodeid="23241"&gt;@Shawn Weeks&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I have created a dummy test file with insert statements, works fine, data is inserted in to the table.&lt;/P&gt;&lt;P&gt;nothing  new in the configurations of puthiveQL, I just selected hive configuration pool and gave the database connection url.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 22:39:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207140#M66209</guid>
      <dc:creator>mark_hadoop</dc:creator>
      <dc:date>2017-08-15T22:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: puthiveql error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207141#M66210</link>
      <description>&lt;P&gt;If it works with a test file then it has to be a syntax error in your real data. Unfortunately without seeing the real statements there isn't anyway for us to troubleshoot. I'd try running some of the sql statements from the flowfile in beeline and see if you get a better error.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 00:24:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207141#M66210</guid>
      <dc:creator>sweeks</dc:creator>
      <dc:date>2017-08-16T00:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: puthiveql error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207142#M66211</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/23241/sweeks.html" nodeid="23241"&gt;@Shawn Weeks&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I have found the solution.&lt;/P&gt;&lt;P&gt;It is with the principal which is has permission validation.&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 21:19:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/puthiveql-error/m-p/207142#M66211</guid>
      <dc:creator>mark_hadoop</dc:creator>
      <dc:date>2017-10-17T21:19:45Z</dc:date>
    </item>
  </channel>
</rss>

