<?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: Docker quickstart : resource issues in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45548#M41446</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/17576"&gt;@dspivak﻿&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks for answering and sorry for the delay.&lt;/P&gt;&lt;P&gt;I am running Fedora on the host and I just printed the memory consumption of the overall "situation".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any tweaks which needs to be done to run CM+Hadoop services within that container, or where does this "out of memory" come from? Any container limits to modify, but where ?!?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;</description>
    <pubDate>Sun, 25 Sep 2016 15:29:07 GMT</pubDate>
    <dc:creator>geko</dc:creator>
    <dc:date>2016-09-25T15:29:07Z</dc:date>
    <item>
      <title>Docker quickstart : resource issues</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45420#M41444</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I fetched the latest docker image for the quickstart single-node 'cluster', to start playing around on my host laptop having 16GB RAM and 8 CPU cores.&lt;/P&gt;&lt;P&gt;After starting the image via&lt;/P&gt;&lt;PRE&gt;sudo docker run --hostname=quickstart.cloudera --privileged=true -t -i -p 8888 -p 7180 cloudera/quickstart /bin/bash&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;I got a command line. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From there I started CM (after having started mysqld) via&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;/home/cloudera/cloudera-manager --express &lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;and logged into it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Starting up HDFS didn't work because of error "Out of memory" for the Namenode. Snippet from &lt;EM&gt;/var/run/cloudera-scm-agent/process/16-hdfs-NAMENODE/hs_err_pid16341.log&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;#  Out of Memory Error (workgroup.cpp:96), pid=16341, tid=140217219892992&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Then I stopped the ClouderaManagementServices and just started the "ServiceMonitor" followed by the Namenode, which then went up fine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;After that I wanted to start "HostMonitor" from the Management Services, which&amp;nbsp;again failed with "Out of system resources", but the container is showing:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Cpu(s):  4.4%us,  0.3%sy,  0.0%ni, 94.9%id,  0.4%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  16313048k total,  8682216k used,  7630832k free,   115504k buffers
Swap:    16380k total,        0k used,    16380k free,  2847244k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                        
10432 cloudera  20   0 4834m 483m  30m S 23.3  3.0   7:20.70 java                                                                                           
  960 root      20   0 2247m  53m 5836 S  0.3  0.3   0:21.10 cmf-agent                                                                                      &lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hence, there should be enough free resource to start the "HostMonitor" ?!?!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Shouldn't the services in the container run smoothly without any resource issues by having 16GB and enough Cores on the host or do I miss something here ?!?!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any help for solving this resource issue highly appreciated &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks and regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:40:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45420#M41444</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2022-09-16T10:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Docker quickstart : resource issues</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45425#M41445</link>
      <description>Are you on a Mac? How did you determine the free RAM in the container?</description>
      <pubDate>Thu, 22 Sep 2016 14:38:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45425#M41445</guid>
      <dc:creator>dspivak</dc:creator>
      <dc:date>2016-09-22T14:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Docker quickstart : resource issues</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45548#M41446</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/17576"&gt;@dspivak﻿&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks for answering and sorry for the delay.&lt;/P&gt;&lt;P&gt;I am running Fedora on the host and I just printed the memory consumption of the overall "situation".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any tweaks which needs to be done to run CM+Hadoop services within that container, or where does this "out of memory" come from? Any container limits to modify, but where ?!?!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2016 15:29:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45548#M41446</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-09-25T15:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Docker quickstart : resource issues</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45549#M41447</link>
      <description>Hm, not sure. When it comes to Docker, the single-image Cloudera QuickStart has been replaced by the clusterdock framework-based CDH deployment, so maybe it's worth giving that a shot? It's always worth being mindful of resource needs for distributed systems; ultimately, we're trying to get a laptop to do the work normally expected of multiple servers. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Sun, 25 Sep 2016 15:33:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45549#M41447</guid>
      <dc:creator>dspivak</dc:creator>
      <dc:date>2016-09-25T15:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Docker quickstart : resource issues</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45550#M41448</link>
      <description>&lt;P&gt;Many thanks, will switch to clusterdock.....looks very interesting btw &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2016 15:39:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Docker-quickstart-resource-issues/m-p/45550#M41448</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-09-25T15:39:09Z</dc:date>
    </item>
  </channel>
</rss>

