<?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: Install specifc packages on client nodes and slave nodes in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98674#M12060</link>
    <description>&lt;P&gt;Yes the install_package method will pick the package names listed under &amp;lt;package&amp;gt; item of metainfo.xml. We avoid putting "yum install" in the code because for other platforms (like ubuntu) the command would be different.  For example of how to specify the package, see &lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml#L118-L127"&gt;here&lt;/A&gt;. It basically means that on all platforms install the package called "hbase" using whatever is the appropriate call for platform.&lt;/P&gt;&lt;P&gt;Alternatively you can specify different package names for each platform/version using something like &lt;A href="https://github.com/hortonworks-gallery/ambari-zeppelin-service/blob/master/metainfo.xml#L23-L56"&gt;this&lt;/A&gt; in the metainfo.xml&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2015 11:33:47 GMT</pubDate>
    <dc:creator>abajwa</dc:creator>
    <dc:date>2015-12-18T11:33:47Z</dc:date>
    <item>
      <title>Install specifc packages on client nodes and slave nodes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98670#M12056</link>
      <description>&lt;P&gt;Hi, I am trying to develop a custom service for ambari. My question is for a cassandra client I am installing the whole cassandra package and doing start cassandra so that I would only use the client to connect to the cluster. But is there any way to tell ambari that only install specific package on client and some specific package on slaves. If it is possible I will be only able to install cassandra client on client nodes.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 08:59:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98670#M12056</guid>
      <dc:creator>amey_jain</dc:creator>
      <dc:date>2015-12-11T08:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Install specifc packages on client nodes and slave nodes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98671#M12057</link>
      <description>&lt;P&gt;I would recommend looking at code for HBASE as an example as it has master, slaves and client&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/tree/trunk/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0"&gt;https://github.com/apache/ambari/tree/trunk/ambari...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the &lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml"&gt;metainfo.xml&lt;/A&gt; you specify which code should get executed on the master (ie hbase_master.py), clients (hbase_client.py) and slaves (hbase_regionserver.py)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 09:10:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98671#M12057</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-12-11T09:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Install specifc packages on client nodes and slave nodes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98672#M12058</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1259/amey-jain.html" nodeid="1259"&gt;@Amey Jain&lt;/A&gt; did this help? If so could you please accept the answer so it doesn't show up in our list of open issues?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 08:59:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98672#M12058</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-12-18T08:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Install specifc packages on client nodes and slave nodes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98673#M12059</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/132/abajwa.html"&gt;@Ali Bajwa&lt;/A&gt;
 so just want to clarify, in the client script the install method is 
calling install_package(env) method and same ofr master, from where 
install_package is picking up the package names? is it from metainfo.xml
 (osspecifics tag)? or can we write in the install method 
Execute(format('yum install cassandra'))?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 11:18:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98673#M12059</guid>
      <dc:creator>amey_jain</dc:creator>
      <dc:date>2015-12-18T11:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Install specifc packages on client nodes and slave nodes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98674#M12060</link>
      <description>&lt;P&gt;Yes the install_package method will pick the package names listed under &amp;lt;package&amp;gt; item of metainfo.xml. We avoid putting "yum install" in the code because for other platforms (like ubuntu) the command would be different.  For example of how to specify the package, see &lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml#L118-L127"&gt;here&lt;/A&gt;. It basically means that on all platforms install the package called "hbase" using whatever is the appropriate call for platform.&lt;/P&gt;&lt;P&gt;Alternatively you can specify different package names for each platform/version using something like &lt;A href="https://github.com/hortonworks-gallery/ambari-zeppelin-service/blob/master/metainfo.xml#L23-L56"&gt;this&lt;/A&gt; in the metainfo.xml&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 11:33:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98674#M12060</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-12-18T11:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Install specifc packages on client nodes and slave nodes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98675#M12061</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1259/amey-jain.html" nodeid="1259"&gt;@Amey Jain&lt;/A&gt; you can also check the metainfo.xml for the Cassandra service built by &lt;A href="https://www.linkedin.com/in/greghill"&gt;Greg Hill&lt;/A&gt; &lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml#L118-L127"&gt;here&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;(btw any reason why you can't reuse the Cassandra Ambari service he has already worked on?)&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 11:41:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98675#M12061</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-12-18T11:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Install specifc packages on client nodes and slave nodes</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98676#M12062</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/132/abajwa.html" nodeid="132"&gt;@Ali Bajwa&lt;/A&gt;looks like the link your are saying is cassandra service is not correct. It takes me to trunk. &lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 05:35:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Install-specifc-packages-on-client-nodes-and-slave-nodes/m-p/98676#M12062</guid>
      <dc:creator>amey_jain</dc:creator>
      <dc:date>2016-01-07T05:35:11Z</dc:date>
    </item>
  </channel>
</rss>

