<?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: Hive not running after HDP 2.5 ambari installment in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-running-after-HDP-2-5-ambari-installment/m-p/128607#M47510</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/4551/dougmengistu.html" nodeid="4551"&gt;@Dagmawi  Mengistu&lt;/A&gt;. Make sure you setup Hive proxy as described here &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-views/content/setup_HDFS_proxy_user.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-views/content/setup_HDFS_proxy_user.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2016 01:16:24 GMT</pubDate>
    <dc:creator>SQLShaw</dc:creator>
    <dc:date>2016-11-30T01:16:24Z</dc:date>
    <item>
      <title>Hive not running after HDP 2.5 ambari installment</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-running-after-HDP-2-5-ambari-installment/m-p/128606#M47509</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/9866-hive-error.txt"&gt;hive-error.txt&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I installed HDP 2.5 and tried to run hive but i'm getting the error attached. Then after that I did run the following command to give it permission but still not working... what should I do?&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -mkdir /user/ec2-user &lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chown -R ec2-user:hdfs /user/ec2-user&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 01:11:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-running-after-HDP-2-5-ambari-installment/m-p/128606#M47509</guid>
      <dc:creator>doug_mengistu</dc:creator>
      <dc:date>2016-11-30T01:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hive not running after HDP 2.5 ambari installment</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-running-after-HDP-2-5-ambari-installment/m-p/128607#M47510</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/4551/dougmengistu.html" nodeid="4551"&gt;@Dagmawi  Mengistu&lt;/A&gt;. Make sure you setup Hive proxy as described here &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-views/content/setup_HDFS_proxy_user.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-views/content/setup_HDFS_proxy_user.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 01:16:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-running-after-HDP-2-5-ambari-installment/m-p/128607#M47510</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2016-11-30T01:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hive not running after HDP 2.5 ambari installment</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-running-after-HDP-2-5-ambari-installment/m-p/128608#M47511</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/186/sshaw.html" nodeid="186" target="_blank"&gt;@Scott Shaw&lt;/A&gt; It's still not working... &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9893-screen-shot-2016-11-29-at-23915-pm.png" style="width: 1824px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22512i0F34C9309C200C39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9893-screen-shot-2016-11-29-at-23915-pm.png" alt="9893-screen-shot-2016-11-29-at-23915-pm.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="9894-screen-shot-2016-11-29-at-24013-pm.png" style="width: 1788px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22513i5D0F43AF40A405A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9894-screen-shot-2016-11-29-at-24013-pm.png" alt="9894-screen-shot-2016-11-29-at-24013-pm.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="9891-screen-shot-2016-11-29-at-23308-pm.png" style="width: 1818px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22514i6B9E4CEF7C5DD2CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9891-screen-shot-2016-11-29-at-23308-pm.png" alt="9891-screen-shot-2016-11-29-at-23308-pm.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="9892-screen-shot-2016-11-29-at-23457-pm.png" style="width: 1740px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22515i22329490CCF842C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9892-screen-shot-2016-11-29-at-23457-pm.png" alt="9892-screen-shot-2016-11-29-at-23457-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:49:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-running-after-HDP-2-5-ambari-installment/m-p/128608#M47511</guid>
      <dc:creator>doug_mengistu</dc:creator>
      <dc:date>2019-08-19T09:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hive not running after HDP 2.5 ambari installment</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-running-after-HDP-2-5-ambari-installment/m-p/128609#M47512</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/4551/dougmengistu.html"&gt;Dagmawi Mengistu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is "ambari-server.hostname"  is actually your ambari server hostname ?&lt;/P&gt;&lt;P&gt;Can you try changing it to "&lt;STRONG&gt;*&lt;/STRONG&gt;"  and then retest the same? &lt;/P&gt;&lt;P&gt;something like this:&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.ec2-user.groups = *
hadoop.proxyuser.ec2-user.hosts = *
hadoop.proxyuser.admin.groups = *
hadoop.proxyuser.admin.groups = *
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: &lt;/STRONG&gt;  If you are running &lt;STRONG&gt;ambari-server&lt;/STRONG&gt; daemon under an account name of &lt;STRONG&gt;root &lt;/STRONG&gt;then&lt;STRONG&gt; &lt;/STRONG&gt;you should add &lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.root.groups = *
hadoop.proxyuser.root.hosts = *&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also your error indicates that it is not able to write inside the "/user/admin/hive/job/...." directory, which indicates that you have logged in to ambari hive view as "admin" user, so you must do the following: &lt;/P&gt;&lt;PRE&gt;su -l hdfs -c "hdfs dfs -mkdir /user/admin" 
su -l hdfs -c "hdfs dfs -chown admin:hdfs /user/admin"&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 04:06:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-running-after-HDP-2-5-ambari-installment/m-p/128609#M47512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-11-30T04:06:50Z</dc:date>
    </item>
  </channel>
</rss>

