<?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: Autodeployment with CM Manager 5.3.1 issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24385#M4860</link>
    <description>Did you install the CDH binaries on the hosts?&lt;BR /&gt;&lt;BR /&gt;This can be done via parcels (as described in the python tutorial: &lt;A target="_blank" href="http://cloudera.github.io/cm_api/docs/python-client/#managing-parcels)"&gt;http://cloudera.github.io/cm_api/docs/python-client/#managing-parcels)&lt;/A&gt; or manually by sshing into the hosts and installing packages.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Darren</description>
    <pubDate>Thu, 05 Feb 2015 21:47:41 GMT</pubDate>
    <dc:creator>Darren</dc:creator>
    <dc:date>2015-02-05T21:47:41Z</dc:date>
    <item>
      <title>Autodeployment with CM Manager 5.3.1 issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24383#M4858</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I am trying to deploy automatically the version 4.7.1 of Cloudera CDH using the Python API of the Cloudera Manager 5.3.1. I am following the example here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/cloudera/cm_api/blob/master/python/examples/auto-deploy/deploycloudera.py" target="_blank"&gt;https://github.com/cloudera/cm_api/blob/master/python/examples/auto-deploy/deploycloudera.py&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Once that I init the cluster, create all the services that I need (Zookeeper, HDFS, MapReduce, and HBase) and start the cluster, all is ok except from a detail: All the services appear on Concerning Status because of the following issue:&lt;BR /&gt;&lt;BR /&gt;Mismatched CDH versions: host has NONE but role expects 4&lt;BR /&gt;&lt;BR /&gt;I've tried to update the CDH version of the cluster manually with:&lt;BR /&gt;&lt;BR /&gt;cluster.update_cdh_version("4.7.1")&lt;BR /&gt;&lt;BR /&gt;but that didn't update the CDH version of the hosts. Does anyone know to fix this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:20:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24383#M4858</guid>
      <dc:creator>javang</dc:creator>
      <dc:date>2022-09-16T09:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Autodeployment with CM Manager 5.3.1 issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24384#M4859</link>
      <description>Can you visit the CM home page -&amp;gt; Hosts -&amp;gt; Host Inspector? What does&lt;BR /&gt;the report tell you regarding installed versions?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Feb 2015 21:42:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24384#M4859</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2015-02-05T21:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Autodeployment with CM Manager 5.3.1 issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24385#M4860</link>
      <description>Did you install the CDH binaries on the hosts?&lt;BR /&gt;&lt;BR /&gt;This can be done via parcels (as described in the python tutorial: &lt;A target="_blank" href="http://cloudera.github.io/cm_api/docs/python-client/#managing-parcels)"&gt;http://cloudera.github.io/cm_api/docs/python-client/#managing-parcels)&lt;/A&gt; or manually by sshing into the hosts and installing packages.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Darren</description>
      <pubDate>Thu, 05 Feb 2015 21:47:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24385#M4860</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2015-02-05T21:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Autodeployment with CM Manager 5.3.1 issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24421#M4861</link>
      <description>&lt;P&gt;Thanks Guatam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am installing my hosts using the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cluster.host_install(user, hostnames, private_key)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it works fine. The output that I get from the stdout is below. I can't see anything regarding packages though:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; "agentUserId" : 0,&lt;BR /&gt;&amp;nbsp; "allHostDnsErrors" : [ ],&lt;BR /&gt;&amp;nbsp; "allHostDnsSuccesses" : [ 1, 2 ],&lt;BR /&gt;&amp;nbsp; "allHostsDnsAvgDurationMillis" : 0,&lt;BR /&gt;&amp;nbsp; "allHostsDnsCount" : 4,&lt;BR /&gt;&amp;nbsp; "allHostsDnsMaxDurationMillis" : 1,&lt;BR /&gt;&amp;nbsp; "etcHostsError" : null,&lt;BR /&gt;&amp;nbsp; "etcHostsMessages" : [ ],&lt;BR /&gt;&amp;nbsp; "etcKrbConfMessages" : [ ],&lt;BR /&gt;&amp;nbsp; "extantInitdErrors" : [ ],&lt;BR /&gt;&amp;nbsp; "groupData" : "hdfs:x:492:\nmapred:x:489:\nzookeeper:x:491:\noozie:x:485:\nhbase:x:484:\nhue:x:483:\ncloudera-scm:x:496:\nhadoop:x:495:hdfs,mapred,yarn\nhive:x:487:\nsqoop:x:494:sqoop2\nsqoop2:x:486:\nyarn:x:488:\nhttpfs:x:490:\n",&lt;BR /&gt;&amp;nbsp; "hostDnsErrors" : [ ],&lt;BR /&gt;&amp;nbsp; "hostname" : "myhostname.com",&lt;BR /&gt;&amp;nbsp; "jceStrength" : 0,&lt;BR /&gt;&amp;nbsp; "kernelVersion" : "2.6.32-431.29.2.el6.x86_64",&lt;BR /&gt;&amp;nbsp; "kernelVersionException" : null,&lt;BR /&gt;&amp;nbsp; "localHostIpError" : null,&lt;BR /&gt;&amp;nbsp; "localhostIp" : "127.0.0.1",&lt;BR /&gt;&amp;nbsp; "nowMillis" : 1423244510387,&lt;BR /&gt;&amp;nbsp; "pythonVersionException" : null,&lt;BR /&gt;&amp;nbsp; "pythonVersionOk" : true,&lt;BR /&gt;&amp;nbsp; "rhelRelease" : "CentOS release 6.5 (Final)",&lt;BR /&gt;&amp;nbsp; "runExceptions" : [ ],&lt;BR /&gt;&amp;nbsp; "swappiness" : "0",&lt;BR /&gt;&amp;nbsp; "swappinessException" : null,&lt;BR /&gt;&amp;nbsp; "timeZone" : "UTC+00:00",&lt;BR /&gt;&amp;nbsp; "transparentHugePagesDefrag" : null,&lt;BR /&gt;&amp;nbsp; "transparentHugePagesEnabled" : null,&lt;BR /&gt;&amp;nbsp; "transparentHugePagesException" : null,&lt;BR /&gt;&amp;nbsp; "userData" : "hdfs:x:495:492:Hadoop HDFS:/var/lib/hadoop-hdfs:/bin/bash\nmapred:x:492:489:Hadoop MapReduce:/var/lib/hadoop-mapreduce:/bin/bash\nzookeeper:x:494:491:ZooKeeper:/var/run/zookeeper:/bin/false\noozie:x:487:485:Oozie User:/var/lib/oozie:/bin/false\nhbase:x:486:484:HBase:/var/run/hbase:/bin/false\nhue:x:485:483:Hue:/usr/share/hue:/bin/false\ncloudera-scm:x:497:496:Cloudera Manager:/var/lib/cloudera-scm-server:/sbin/nologin\nsqoop:x:491:494:Sqoop:/var/lib/sqoop:/bin/false\nsqoop2:x:488:486:Sqoop 2 User:/var/run/sqoop2:/sbin/nologin\nyarn:x:490:488:Hadoop Yarn:/var/lib/hadoop-yarn:/bin/bash\nhttpfs:x:493:490:Hadoop HTTPFS:/var/run/hadoop-httpfs:/bin/bash\n"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 17:49:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24421#M4861</guid>
      <dc:creator>javang</dc:creator>
      <dc:date>2015-02-06T17:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Autodeployment with CM Manager 5.3.1 issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24422#M4862</link>
      <description>&lt;P&gt;Thanks Darren,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am downloading, distributing, and activating the parcel for CDH 4.7.1 using the API commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myparcel.start_download()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myparcel.start_distribution()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myparcel.activate()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I follow the progress in the Cloudera Manager 5.3.1, in the parcels section. I can't see any errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As in the example that I mention in my post, I check the state of parcels using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if myparcel.state is not None and myparcel.state.errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise IOError(str(myparcel.state.errors))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No exception is thrown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 17:54:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24422#M4862</guid>
      <dc:creator>javang</dc:creator>
      <dc:date>2015-02-06T17:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Autodeployment with CM Manager 5.3.1 issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24423#M4863</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Guatam and Darren for your suggestions. I made things work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am guessing that my troubles appeared because I was debugging step by step, creating and destroying cluster and services many times. Once that I started the entire process from beginning to end (after debugging each step), all seems to work and I can see CDH 4 version for each host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Javier&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2015 17:57:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24423#M4863</guid>
      <dc:creator>javang</dc:creator>
      <dc:date>2015-02-06T17:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Autodeployment with CM Manager 5.3.1 issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24432#M4864</link>
      <description>Thanks for the feedback. Glad it's all well now&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Feb 2015 20:56:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Autodeployment-with-CM-Manager-5-3-1-issue/m-p/24432#M4864</guid>
      <dc:creator>GautamG</dc:creator>
      <dc:date>2015-02-06T20:56:07Z</dc:date>
    </item>
  </channel>
</rss>

