<?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: NIFI  PutHiveQL  Permission denied error   :   Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [svcda_nifi] does not have [SELECT] privilege on [default/values__tmp__table__4/*] in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186898#M80263</link>
    <description>&lt;P&gt;Hello  &lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If i understood corectly it is a problem about  user access rights to the database. &lt;/P&gt;&lt;P&gt;I will contact the administrator of nifi.&lt;/P&gt;&lt;P&gt;I will try that , thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 05 Jul 2018 15:10:38 GMT</pubDate>
    <dc:creator>Ksad</dc:creator>
    <dc:date>2018-07-05T15:10:38Z</dc:date>
    <item>
      <title>NIFI  PutHiveQL  Permission denied error   :   Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [svcda_nifi] does not have [SELECT] privilege on [default/values__tmp__table__4/*]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186896#M80261</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="79390-2018-07-04-17-11-50.png" style="width: 768px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18773iF2759CB094754332/image-size/medium?v=v2&amp;amp;px=400" role="button" title="79390-2018-07-04-17-11-50.png" alt="79390-2018-07-04-17-11-50.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="79391-2018-07-04-18-07-30.png" style="width: 1021px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18774iC497E8B426FBD702/image-size/medium?v=v2&amp;amp;px=400" role="button" title="79391-2018-07-04-18-07-30.png" alt="79391-2018-07-04-18-07-30.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="79391-2018-07-04-18-07-30.png" style="width: 1021px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18775i8C47B63792B2D6D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="79391-2018-07-04-18-07-30.png" alt="79391-2018-07-04-18-07-30.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;hello everyone,

I created a data flow with NIFI, in which I put: SelectHiveQL ===&amp;gt; ConvertAvroToJSON ====&amp;gt; SplitJson ====&amp;gt; EvaluateJsonPath ===&amp;gt; ReplaceText ===&amp;gt; PutHiveQL. 

All the processors work well except the last "PutHiveQL" which shows me the following error. 

thank you in advance for your help&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:08:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186896#M80261</guid>
      <dc:creator>Ksad</dc:creator>
      <dc:date>2019-08-18T08:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI  PutHiveQL  Permission denied error   :   Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [svcda_nifi] does not have [SELECT] privilege on [default/values__tmp__table__4/*]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186897#M80262</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/83181/ck-sadchaouche.html" nodeid="83181"&gt;@SAD KHALED&lt;/A&gt;&lt;P&gt;Do provide this user "&lt;EM&gt;svcda_nifi&lt;/EM&gt;" select permissions on default database. &lt;/P&gt;&lt;P&gt;Ref : &lt;A href="https://community.hortonworks.com/content/supportkb/198363/errorfailed-hiveaccesscontrolexception-permission.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/198363/errorfailed-hiveaccesscontrolexception-permission.html&lt;/A&gt;   for more details.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 14:04:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186897#M80262</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2018-07-05T14:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI  PutHiveQL  Permission denied error   :   Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [svcda_nifi] does not have [SELECT] privilege on [default/values__tmp__table__4/*]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186898#M80263</link>
      <description>&lt;P&gt;Hello  &lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If i understood corectly it is a problem about  user access rights to the database. &lt;/P&gt;&lt;P&gt;I will contact the administrator of nifi.&lt;/P&gt;&lt;P&gt;I will try that , thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 15:10:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186898#M80263</guid>
      <dc:creator>Ksad</dc:creator>
      <dc:date>2018-07-05T15:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI  PutHiveQL  Permission denied error   :   Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [svcda_nifi] does not have [SELECT] privilege on [default/values__tmp__table__4/*]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186899#M80264</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/83181/ck-sadchaouche.html" nodeid="83181"&gt;@SAD KHALED&lt;/A&gt; Please take a moment to click "Accept" if this answer helps you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 15:24:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186899#M80264</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2018-07-06T15:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI  PutHiveQL  Permission denied error   :   Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [svcda_nifi] does not have [SELECT] privilege on [default/values__tmp__table__4/*]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186900#M80265</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;/A&gt;, it's helped me.&lt;/P&gt;&lt;P&gt;i found an other explanation which details the probem &lt;EM&gt; : &lt;/EM&gt; &lt;A href="https://community.hortonworks.com/questions/178176/hive-creation-of-temp-tables-in-default-database-d.html"&gt;https://community.hortonworks.com/questions/178176/hive-creation-of-temp-tables-in-default-database-d.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;/EM&gt;&lt;EM&gt; The problem seems to be around the default temporary 
table (at least, it is failing here before anything else). The query you
 make with the "VALUES" part work like this : &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- it creates a temporary hive table with the line to be inserted &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- it then queries that temporary table for inserting the data into the target table &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From the output I see, the temporary table is created [&lt;STRONG&gt;default/values__tmp__table__3&lt;/STRONG&gt;]. But the user does not have "&lt;STRONG&gt;select&lt;/STRONG&gt;" permission on it. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt; 
&lt;EM&gt;I guess that a workaround would be to grant "SELECT" on the 
database "default" but this could bring some security issues for you 
(since the user will have read permission on all the tables inside 
"default"). "&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 20:24:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-PutHiveQL-Permission-denied-error-Error-while-compiling/m-p/186900#M80265</guid>
      <dc:creator>Ksad</dc:creator>
      <dc:date>2018-07-12T20:24:24Z</dc:date>
    </item>
  </channel>
</rss>

