<?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: Weirdest reason for Cloudera Management Services not to start - missing parcels_cache or repo in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Weirdest-reason-for-Cloudera-Management-Services-not-to/m-p/29076#M6423</link>
    <description>Hi&lt;BR /&gt;Thanks for the quick replay.&lt;BR /&gt;I knew that the fault was mine, but it took me a while to find it.&lt;BR /&gt;What I would like to be able to do is to have the parcels located on a shared storage, so I cam have a single copy of the parcel file (1.5GB per parcel) for my various clusters.&lt;BR /&gt;In any case i have my testing clusters installed on VMs, so it does make sense to do this for them.&lt;BR /&gt;For real Production environment i can't argue with your solution.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Doron&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Jun 2015 13:54:21 GMT</pubDate>
    <dc:creator>doronve</dc:creator>
    <dc:date>2015-06-29T13:54:21Z</dc:date>
    <item>
      <title>Weirdest reason for Cloudera Management Services not to start - missing parcels_cache or repo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Weirdest-reason-for-Cloudera-Management-Services-not-to/m-p/29066#M6421</link>
      <description>&lt;P&gt;In our testing environments we're aleays&amp;nbsp;short on space...&lt;/P&gt;&lt;P&gt;So we thought that we can remove the&amp;nbsp;/opt/cloudera/parcel-cache and /opt/cloudera/parcel-repo - after all the parcel is already installed and distributed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Big mistake...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i&amp;nbsp;failed to start the cloudera manager services and got error like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=========&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[29/Jun/2015 10:57:41 +0000] 2917 MainThread util INFO Using generic parser for process cloudera-mgmt-HOSTMONITOR&lt;BR /&gt;[29/Jun/2015 10:57:41 +0000] 2917 MainThread agent INFO Activating Process 1019-cloudera-mgmt-HOSTMONITOR&lt;BR /&gt;[29/Jun/2015 10:57:41 +0000] 2917 MainThread agent INFO Created /var/run/cloudera-scm-agent/process/1019-cloudera-mgmt-HOSTMONITOR&lt;BR /&gt;[29/Jun/2015 10:57:41 +0000] 2917 MainThread agent INFO Chowning /var/run/cloudera-scm-agent/process/1019-cloudera-mgmt-HOSTMONITOR to cloudera-scm (781) cloudera-scm (501)&lt;BR /&gt;[29/Jun/2015 10:57:41 +0000] 2917 MainThread agent INFO Chmod'ing /var/run/cloudera-scm-agent/process/1019-cloudera-mgmt-HOSTMONITOR to 0751&lt;BR /&gt;[29/Jun/2015 10:57:41 +0000] 2917 MainThread agent ERROR Failed to activate {u'refresh_files': [u'cloudera-stack-monitor.properties'], u'config_generation': 0, u'auto_restart': True, u'running': True, u'required_tags': [], u'user': u'cloudera-scm', u'special_file_info': [], u'group': u'cloudera-scm', u'id': 1019, u'status_links': {u'status': u'&lt;A href="http://ilmtxbda146.corp.amdocs.com:8091/'}," target="_blank"&gt;http://ilmtxbda146.corp.amdocs.com:8091/'},&lt;/A&gt; u'name': u'cloudera-mgmt-HOSTMONITOR', u'run_generation': 1, u'environment': {u'MGMT_LOG_FILE': u'mgmt-cmf-mgmt-HOSTMONITOR-ilmtxbda146.corp.amdocs.com.log.out', u'CDH_VERSION': u'-1', u'FIREHOSE_JAVA_OPTS': u'-Xms1073741824 -Xmx1073741824 -XX:OnOutOfMemoryError={{AGENT_COMMON_DIR}}/killparent.sh'}, u'optional_tags': [], u'program': u'mgmt/mgmt.sh', u'arguments': [u'firehose', u'--pipeline-type', u'HOST_MONITORING'], u'parcels': {u'CDH': u'5.3.0-1.cdh5.3.0.p0.30'}, u'resources': [{u'io': None, u'named_cpu': None, u'tcp_listen': None, u'dynamic': False, u'rlimits': {u'limit_memlock': None, u'limit_fds': None}, u'file': None, u'memory': None, u'directory': None, u'cpu': None}, {u'io': None, u'named_cpu': None, u'tcp_listen': None, u'dynamic': False, u'rlimits': None, u'file': None, u'memory': None, u'directory': {u'path': u'/var/log/cloudera-scm-firehose', u'bytes_free_warning_threshhold_bytes': 0, u'group': u'cloudera-scm', u'user': u'cloudera-scm', u'mode': 509}, u'cpu': None}, {u'io': None, u'named_cpu': None, u'tcp_listen': {u'bind_address': u'10.233.164.119', u'port': 8091}, u'dynamic': False, u'rlimits': None, u'file': None, u'memory': None, u'directory': None, u'cpu': None}, {u'io': None, u'named_cpu': None, u'tcp_listen': {u'bind_address': u'10.233.164.119', u'port': 9995}, u'dynamic': False, u'rlimits': None, u'file': None, u'memory': None, u'directory': None, u'cpu': None}, {u'io': None, u'named_cpu': None, u'tcp_listen': {u'bind_address': u'10.233.164.119', u'port': 9994}, u'dynamic': False, u'rlimits': None, u'file': None, u'memory': None, u'directory': None, u'cpu': None}, {u'io': None, u'named_cpu': None, u'tcp_listen': None, u'dynamic': False, u'rlimits': None, u'file': None, u'memory': None, u'directory': {u'path': u'/var/lib/cloudera-host-monitor', u'bytes_free_warning_threshhold_bytes': 0, u'group': u'cloudera-scm', u'user': u'cloudera-scm', u'mode': 509}, u'cpu': None}, {u'io': None, u'named_cpu': None, u'tcp_listen': None, u'dynamic': True, u'rlimits': None, u'file': None, u'memory': None, u'directory': {u'path': u'/var/log/cloudera-scm-firehose/stacks', u'bytes_free_warning_threshhold_bytes': 0, u'group': u'cloudera-scm', u'user': u'cloudera-scm', u'mode': 493}, u'cpu': None}], u'one_off': False}&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 1234, in handle_heartbeat_response&lt;BR /&gt;new_process.activate()&lt;BR /&gt;File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 2438, in activate&lt;BR /&gt;self.update_process_environment_and_parcels()&lt;BR /&gt;File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 2601, in update_process_environment_and_parcels&lt;BR /&gt;parcels_in_use = self.agent.repo.prepare_environment(self.raw['parcels'],&lt;BR /&gt;AttributeError: 'NoneType' object has no attribute 'prepare_environment'&lt;BR /&gt;[29/Jun/2015 10:57:57 +0000] 2917 CP Server Thread-12 _cplogging INFO 10.233.164.119 - - [29/Jun/2015:10:57:57] "GET /download_log?path=%2Fvar%2Flog%2Fcloudera-scm-firehose%2Fmgmt-cmf-mgmt-HOSTMONITOR-ilmtxbda146.corp.amdocs.com.log.out&amp;amp;onlyTail=true&amp;amp;compress=false HTTP/1.1" 200 2011 "" "Java/1.7.0_10"&lt;BR /&gt;[29/Jun/2015 11:07:28 +0000] 2917 MonitorDaemon-Reporter throttling_logger ERROR (9 skipped) Error sending messages to firehose: mgmt-HOSTMONITOR-14f3c3b6446d19e4dcc4dab16355bb71&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/lib64/cmf/agent/src/cmf/monitor/firehose.py", line 70, in _send&lt;BR /&gt;self._port)&lt;BR /&gt;File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__&lt;BR /&gt;self.conn.connect()&lt;BR /&gt;File "/usr/lib64/python2.6/httplib.py", line 720, in connect&lt;BR /&gt;self.timeout)&lt;BR /&gt;File "/usr/lib64/python2.6/socket.py", line 567, in create_connection&lt;BR /&gt;raise error, msg&lt;BR /&gt;error: [Errno 111] Connection refused&lt;/P&gt;&lt;P&gt;=========&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Luckily for me, I had the same parcel on a different environment so I could copy it and environment was happy again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions for cloudera people:&lt;/P&gt;&lt;P&gt;* Why do I need the parcels after it was successfully installed? (all the jars and exe are available from /opt/cloudera/parcels/CDH)&lt;/P&gt;&lt;P&gt;*&amp;nbsp;Do you have any suggestions for saving space? - again this is for small testing environments and not for production.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Doron&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:32:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Weirdest-reason-for-Cloudera-Management-Services-not-to/m-p/29066#M6421</guid>
      <dc:creator>doronve</dc:creator>
      <dc:date>2022-09-16T09:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Weirdest reason for Cloudera Management Services not to start - missing parcels_cache or repo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Weirdest-reason-for-Cloudera-Management-Services-not-to/m-p/29075#M6422</link>
      <description>&lt;P&gt;Actually, by design, its meant to operate that way. &amp;nbsp;All cluster nodes must be at the same release level, and this is verified on startup. &amp;nbsp;What you did was pull the resources out from under the database and trigger a server service halt because it could not audit deployed vs staged parcels. &amp;nbsp;If we threw away the CDH parcel, how would you add servers and additional cluster service role instances? &amp;nbsp;Cloudera Manager can manage multiple CDH clusters that may at be varying release levels too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We go through the disk requirements here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_ig_reqs_space.html" target="_blank"&gt;http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_ig_reqs_space.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The cluster maintains parcel deployment based on the UI within the CM server, you can not manage these from the&amp;nbsp;command line (by doing something like removing the files from the path). &amp;nbsp;If there are additional/old unused parces you can remove them using the parcel management screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_ig_parcels.html" target="_blank"&gt;http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_ig_parcels.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get the CM server down to where its only storing the current parcel in its repo, using the UI. Having Cloudera Manager on a CDH cluster node will drive your storage issues as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2015 13:43:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Weirdest-reason-for-Cloudera-Management-Services-not-to/m-p/29075#M6422</guid>
      <dc:creator>Grizzly</dc:creator>
      <dc:date>2015-06-29T13:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Weirdest reason for Cloudera Management Services not to start - missing parcels_cache or repo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Weirdest-reason-for-Cloudera-Management-Services-not-to/m-p/29076#M6423</link>
      <description>Hi&lt;BR /&gt;Thanks for the quick replay.&lt;BR /&gt;I knew that the fault was mine, but it took me a while to find it.&lt;BR /&gt;What I would like to be able to do is to have the parcels located on a shared storage, so I cam have a single copy of the parcel file (1.5GB per parcel) for my various clusters.&lt;BR /&gt;In any case i have my testing clusters installed on VMs, so it does make sense to do this for them.&lt;BR /&gt;For real Production environment i can't argue with your solution.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Doron&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jun 2015 13:54:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Weirdest-reason-for-Cloudera-Management-Services-not-to/m-p/29076#M6423</guid>
      <dc:creator>doronve</dc:creator>
      <dc:date>2015-06-29T13:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Weirdest reason for Cloudera Management Services not to start - missing parcels_cache or repo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Weirdest-reason-for-Cloudera-Management-Services-not-to/m-p/37836#M6424</link>
      <description>&lt;P&gt;I have the same issue using 5.5 quickstart VM. Unfortunately downloading and activating the parcels do not resolve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every time when VM is started, the status becomes unknow, and it is fine after manually restart the Cloudera Management Service. The error is 'com.cloudera.cmf.BasicScmProxy connection refused'. It is such a bad experience of starting using Cloudera.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 03:21:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Weirdest-reason-for-Cloudera-Management-Services-not-to/m-p/37836#M6424</guid>
      <dc:creator>imeanit</dc:creator>
      <dc:date>2016-02-25T03:21:58Z</dc:date>
    </item>
  </channel>
</rss>

