<?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: HDP Sandbox 2.6 Hive/Hive 2 'SELECT COUNT' or 'SELECT DISTINCT' hangs in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Sandbox-2-6-Hive-Hive-2-SELECT-COUNT-or-SELECT-DISTINCT/m-p/186518#M61781</link>
    <description>&lt;P&gt;Awesome!  Glad it worked.&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2017 23:37:16 GMT</pubDate>
    <dc:creator>egarelnabi</dc:creator>
    <dc:date>2017-05-25T23:37:16Z</dc:date>
    <item>
      <title>HDP Sandbox 2.6 Hive/Hive 2 'SELECT COUNT' or 'SELECT DISTINCT' hangs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Sandbox-2-6-Hive-Hive-2-SELECT-COUNT-or-SELECT-DISTINCT/m-p/186515#M61778</link>
      <description>&lt;P&gt;I just used the tutorial table drivers/timesheets table.&lt;/P&gt;&lt;P&gt;SELECT dirverid from drivers;&lt;/P&gt;&lt;P&gt;runs fine. It's a small table. But:&lt;/P&gt;&lt;P&gt;SELECT DISTINCT driverid from drivers;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;SELECT COUNT(*) from drivers;&lt;/P&gt;&lt;P&gt;just hangs, never completes. I have to restart HIVE to stop it running.&lt;/P&gt;&lt;P&gt;I just use Virtual Box load the downloaded HortonWorks Sandbox 2.6, no configuration changes.&lt;/P&gt;&lt;P&gt;It works with HDP 2.5 though.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 21:52:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Sandbox-2-6-Hive-Hive-2-SELECT-COUNT-or-SELECT-DISTINCT/m-p/186515#M61778</guid>
      <dc:creator>yleigh</dc:creator>
      <dc:date>2017-05-25T21:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Sandbox 2.6 Hive/Hive 2 'SELECT COUNT' or 'SELECT DISTINCT' hangs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Sandbox-2-6-Hive-Hive-2-SELECT-COUNT-or-SELECT-DISTINCT/m-p/186516#M61779</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18590/yleigh.html" nodeid="18590" target="_blank"&gt;@Lei Yin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I faced a similar issue in the past and solved it by adjusting the Hive settings in the sandbox as below:&lt;/P&gt;&lt;P&gt;1) In Ambari, select "Hive" from the left menu then the "Configs" tab and the "Settings" sub-tab&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13913-screen-shot-2017-03-22-at-113831-am.png" style="width: 2006px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18793iF989E1928F9D67E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13913-screen-shot-2017-03-22-at-113831-am.png" alt="13913-screen-shot-2017-03-22-at-113831-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) Scroll down to the bottom of the page and modify the "HeveServer2 Heap Size", "Metastore Heap Size" as well as any other flagged items (possibly "Memory for Map Join"). If you hover next to each item, Ambari will make recommendations for the values to set, so feel free to use those by selecting the "set recommended" icon that appears.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13914-screen-shot-2017-03-22-at-114511-am.png" style="width: 2292px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18794iA75D4176A3C0BBC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13914-screen-shot-2017-03-22-at-114511-am.png" alt="13914-screen-shot-2017-03-22-at-114511-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3) Save and click "restart affected" services near the top of the page.&lt;/P&gt;&lt;P&gt;Try the above and let us know if it works or not.&lt;/P&gt;&lt;P&gt;As always, if you find any post here helpful, don't forget to "accept" an answer.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:10:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Sandbox-2-6-Hive-Hive-2-SELECT-COUNT-or-SELECT-DISTINCT/m-p/186516#M61779</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2019-08-18T08:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Sandbox 2.6 Hive/Hive 2 'SELECT COUNT' or 'SELECT DISTINCT' hangs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Sandbox-2-6-Hive-Hive-2-SELECT-COUNT-or-SELECT-DISTINCT/m-p/186517#M61780</link>
      <description>&lt;P&gt;Yes, this fixed the issue.&lt;/P&gt;&lt;P&gt;One extra is in 'Tez' container size, I changed it to recommended size, was 256MB, which might be the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 23:35:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Sandbox-2-6-Hive-Hive-2-SELECT-COUNT-or-SELECT-DISTINCT/m-p/186517#M61780</guid>
      <dc:creator>yleigh</dc:creator>
      <dc:date>2017-05-25T23:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Sandbox 2.6 Hive/Hive 2 'SELECT COUNT' or 'SELECT DISTINCT' hangs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Sandbox-2-6-Hive-Hive-2-SELECT-COUNT-or-SELECT-DISTINCT/m-p/186518#M61781</link>
      <description>&lt;P&gt;Awesome!  Glad it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 23:37:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Sandbox-2-6-Hive-Hive-2-SELECT-COUNT-or-SELECT-DISTINCT/m-p/186518#M61781</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2017-05-25T23:37:16Z</dc:date>
    </item>
  </channel>
</rss>

