<?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 HDFS not allowed to do 'GENERATE_EEK' on 'hive' in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-not-allowed-to-do-GENERATE-EEK-on-hive/m-p/179581#M61469</link>
    <description>&lt;P&gt;I've recently upgraded the cluster to HDP 2.5.3 as well as Ambari to 2.4.2.0 however I'm now facing problems running Hive queries.&lt;/P&gt;&lt;P&gt;Each query that invokes Tez (i.e. `insert`) results in the following error:&lt;/P&gt;&lt;PRE&gt;Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.ipc.RemoteException(java.io.IOException): java.util.concurrent.ExecutionException: org.apache.hadoop.security.authorize.Authori
zationException: User:hdfs not allowed to do 'GENERATE_EEK' on 'hive'
&lt;/PRE&gt;&lt;P&gt;Here are my commands:&lt;/P&gt;&lt;PRE&gt;$ kinit -kt /etc/security/keytabs/automation.keytab
$ beeline -u 'jdbc:hive2://hiverserver2:10000/default;principal=hive/hiverserver2@ACTIVE.DIRECTORY' -f hive_script.hql&lt;/PRE&gt;&lt;P&gt;This is obviously something that was working before the upgrade.&lt;/P&gt;&lt;P&gt;Why is it running the script as the hdfs user? I have not added the `hdfs` user to the 'GENERATE_EEK' property on the Ranger KMS UI as this is not advised (and also not permitted). &lt;/P&gt;&lt;P&gt;Are there any settings that need to be adjusted after the upgrade?&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2017 16:43:20 GMT</pubDate>
    <dc:creator>daleb</dc:creator>
    <dc:date>2017-05-19T16:43:20Z</dc:date>
    <item>
      <title>HDFS not allowed to do 'GENERATE_EEK' on 'hive'</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-not-allowed-to-do-GENERATE-EEK-on-hive/m-p/179581#M61469</link>
      <description>&lt;P&gt;I've recently upgraded the cluster to HDP 2.5.3 as well as Ambari to 2.4.2.0 however I'm now facing problems running Hive queries.&lt;/P&gt;&lt;P&gt;Each query that invokes Tez (i.e. `insert`) results in the following error:&lt;/P&gt;&lt;PRE&gt;Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.ipc.RemoteException(java.io.IOException): java.util.concurrent.ExecutionException: org.apache.hadoop.security.authorize.Authori
zationException: User:hdfs not allowed to do 'GENERATE_EEK' on 'hive'
&lt;/PRE&gt;&lt;P&gt;Here are my commands:&lt;/P&gt;&lt;PRE&gt;$ kinit -kt /etc/security/keytabs/automation.keytab
$ beeline -u 'jdbc:hive2://hiverserver2:10000/default;principal=hive/hiverserver2@ACTIVE.DIRECTORY' -f hive_script.hql&lt;/PRE&gt;&lt;P&gt;This is obviously something that was working before the upgrade.&lt;/P&gt;&lt;P&gt;Why is it running the script as the hdfs user? I have not added the `hdfs` user to the 'GENERATE_EEK' property on the Ranger KMS UI as this is not advised (and also not permitted). &lt;/P&gt;&lt;P&gt;Are there any settings that need to be adjusted after the upgrade?&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 16:43:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-not-allowed-to-do-GENERATE-EEK-on-hive/m-p/179581#M61469</guid>
      <dc:creator>daleb</dc:creator>
      <dc:date>2017-05-19T16:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS not allowed to do 'GENERATE_EEK' on 'hive'</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-not-allowed-to-do-GENERATE-EEK-on-hive/m-p/179582#M61470</link>
      <description>&lt;P&gt;There was an issue with the Ranger KMS UI which prevented me from making any changes to the policy. Instead I used the API to update the policy which worked successfully.&lt;/P&gt;&lt;P&gt;The change I made was to add the HDFS user to the 'GENERATE_EEK' policy.&lt;/P&gt;&lt;P&gt;API documentation and resources:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/76118/how-to-access-ranger-kms-policies-via-rest-api.html" target="_blank"&gt;https://community.hortonworks.com/articles/76118/how-to-access-ranger-kms-policies-via-rest-api.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/RANGER/Apache+Ranger+0.6+-+REST+APIs+for+Service+Definition%2C+Service+and+Policy+Management" target="_blank"&gt;https://cwiki.apache.org/confluence/display/RANGER/Apache+Ranger+0.6+-+REST+APIs+for+Service+Definition%2C+Service+and+Policy+Management&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 23:03:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-not-allowed-to-do-GENERATE-EEK-on-hive/m-p/179582#M61470</guid>
      <dc:creator>daleb</dc:creator>
      <dc:date>2017-05-22T23:03:38Z</dc:date>
    </item>
  </channel>
</rss>

