<?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: Why is Hive running out of memory OOM on an Azure VM with 4 cores and 28Gb of Ram (Sandbox) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143745#M23726</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3574/jgarrigan.html" nodeid="3574"&gt;@John  Garrigan&lt;/A&gt; thank you for posting your resolution. Much appreciated!&lt;/P&gt;</description>
    <pubDate>Sat, 26 Mar 2016 19:08:12 GMT</pubDate>
    <dc:creator>SQLShaw</dc:creator>
    <dc:date>2016-03-26T19:08:12Z</dc:date>
    <item>
      <title>Why is Hive running out of memory OOM on an Azure VM with 4 cores and 28Gb of Ram (Sandbox)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143742#M23723</link>
      <description>&lt;P&gt;Hi, I am trying to run some simple enough queries on my files (250000 records) and I am receiving an out of memory message as follows:&lt;/P&gt;&lt;PRE&gt;ERROR : Vertex failed, vertexName=Map 1, vertexId=vertex_1458912652919_0002_1_00, diagnostics=[Task failed, taskId=task_1458912652919_0002_1_00_000006, diagnostics=[TaskAttempt 0 failed, info=[Error: Failure while running task:java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap spaceat org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:159)at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:139).........and this continues for many lines. &lt;/PRE&gt;&lt;P&gt;I have tried researching this issue and I came across this post but I am lost as to how I can modify the settings discussed: &lt;A href="https://azure.microsoft.com/en-us/blog/hive-memory-settings-resolve-out-of-memory-errors-using-azure-hdinsight/" target="_blank"&gt;https://azure.microsoft.com/en-us/blog/hive-memory-settings-resolve-out-of-memory-errors-using-azure-hdinsight/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can anyone shed any light on this for me please? By the way, below is the query I was trying to run on my Hive table:&lt;/P&gt;&lt;PRE&gt;SELECT * FROM pigoutputhive SORT BY Score DESC LIMIT 10;&lt;/PRE&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2016 23:58:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143742#M23723</guid>
      <dc:creator>jgarrigan</dc:creator>
      <dc:date>2016-03-25T23:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Hive running out of memory OOM on an Azure VM with 4 cores and 28Gb of Ram (Sandbox)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143743#M23724</link>
      <description>&lt;P&gt;I came across this article and changed the recommended settings but when I now run the above query I receive no errors or results even though the status is completed. Has anyone any other suggestions please?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2016 04:51:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143743#M23724</guid>
      <dc:creator>jgarrigan</dc:creator>
      <dc:date>2016-03-26T04:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Hive running out of memory OOM on an Azure VM with 4 cores and 28Gb of Ram (Sandbox)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143744#M23725</link>
      <description>&lt;P&gt;So I finally figured out my problem, it had to do with my own impatience!&lt;/P&gt;&lt;P&gt;Although Hive said the query ran successfully and had not returned any results, it was still working away in the background and eventually spat back some results. Although the results were not correct that's for another day. &lt;/P&gt;&lt;P&gt;I changed the settings as per the linked article above but needed an Admin profile to do so and it eventually worked.  &lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2016 18:57:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143744#M23725</guid>
      <dc:creator>jgarrigan</dc:creator>
      <dc:date>2016-03-26T18:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Hive running out of memory OOM on an Azure VM with 4 cores and 28Gb of Ram (Sandbox)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143745#M23726</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3574/jgarrigan.html" nodeid="3574"&gt;@John  Garrigan&lt;/A&gt; thank you for posting your resolution. Much appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2016 19:08:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143745#M23726</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2016-03-26T19:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Hive running out of memory OOM on an Azure VM with 4 cores and 28Gb of Ram (Sandbox)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143746#M23727</link>
      <description>&lt;P&gt;how do you login as admin profile? I am using the Maria_dev, it is all grey out in config, I could not change anything&lt;/P&gt;</description>
      <pubDate>Sat, 16 Apr 2016 21:15:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-is-Hive-running-out-of-memory-OOM-on-an-Azure-VM-with-4/m-p/143746#M23727</guid>
      <dc:creator>chen_zhi</dc:creator>
      <dc:date>2016-04-16T21:15:03Z</dc:date>
    </item>
  </channel>
</rss>

