<?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 How can we setup customized cgroups for Centos 7? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117528#M17052</link>
    <description>&lt;P&gt;I came to know that HDP is not supporting cgroups for CentOS 7. We are running our cluster on Centos 7. How can we enable CPU scheduling and Isolation? What is the process of defining our own cgroups for centos 7?&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jan 2016 02:47:09 GMT</pubDate>
    <dc:creator>prasad4u_com</dc:creator>
    <dc:date>2016-01-30T02:47:09Z</dc:date>
    <item>
      <title>How can we setup customized cgroups for Centos 7?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117528#M17052</link>
      <description>&lt;P&gt;I came to know that HDP is not supporting cgroups for CentOS 7. We are running our cluster on Centos 7. How can we enable CPU scheduling and Isolation? What is the process of defining our own cgroups for centos 7?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 02:47:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117528#M17052</guid>
      <dc:creator>prasad4u_com</dc:creator>
      <dc:date>2016-01-30T02:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can we setup customized cgroups for Centos 7?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117529#M17053</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1966/prasad4ucom.html" nodeid="1966"&gt;@Ram D&lt;/A&gt;&lt;P&gt;Ram, You are right on the support. I suggest to wait until the official support before running into production.&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_yarn_resource_mgt/content/enabling_cgroups.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_yarn_resource_mgt/content/enabling_cgroups.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hint:&lt;/P&gt;&lt;P&gt;On RHEL7, the &lt;CODE&gt;cpu&lt;/CODE&gt; and &lt;CODE&gt;cpuacct&lt;/CODE&gt; controllers are managed together by default. The default directory is&lt;CODE&gt;/sys/fs/cgroup/cpu,cpuacct&lt;/CODE&gt;. Due to the parsing logic of the container-executor, the presence of the comma in this path may lead to failures when initializing the NodeManager (when using the &lt;CODE&gt;LinuxContainerExecutor&lt;/CODE&gt;).&lt;/P&gt;&lt;P&gt;To avoid this issue, create your own directory (such as &lt;CODE&gt;/sys/fs/cgroup/hadoop/cpu&lt;/CODE&gt;) and set the &lt;CODE&gt;yarn.nodemanager.linux-container-executor.cgroups.mount&lt;/CODE&gt; property to &lt;CODE&gt;true&lt;/CODE&gt;. This will allow the NodeManager to mount the &lt;CODE&gt;cpu&lt;/CODE&gt; controller, and YARN will be able to enforce CPU limits.&lt;/P&gt;&lt;P&gt;If you would like to mount CGroups yourself, you should set the &lt;CODE&gt;yarn.nodemanager.linux-container-executor.cgroups.mount&lt;/CODE&gt; property to &lt;CODE&gt;false&lt;/CODE&gt; and ensure that the hierarchy specified in the &lt;CODE&gt;yarn.nodemanager.linux-container-executor.cgroups.hierarchy&lt;/CODE&gt; property exists in the mount location. You must also ensure that there are no commas anywhere in the path names.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 02:51:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117529#M17053</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-30T02:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can we setup customized cgroups for Centos 7?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117530#M17054</link>
      <description>&lt;P&gt;Is there any need of cluster with kerberos security in this case?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 03:05:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117530#M17054</guid>
      <dc:creator>prasad4u_com</dc:creator>
      <dc:date>2016-01-30T03:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can we setup customized cgroups for Centos 7?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117531#M17055</link>
      <description>&lt;P&gt;Yes afaik "CGroups require that the HDP cluster be Kerberos enabled."&lt;/P&gt;&lt;P&gt;Also, Kerberos is MUST in any case if we want to secure the cluster. &lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 03:10:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117531#M17055</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-30T03:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can we setup customized cgroups for Centos 7?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117532#M17056</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1966/prasad4ucom.html" nodeid="1966"&gt;@Ram D&lt;/A&gt; &lt;/P&gt;&lt;P&gt;See the following details. I would stick with official docs.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 22:39:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-we-setup-customized-cgroups-for-Centos-7/m-p/117532#M17056</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-01T22:39:28Z</dc:date>
    </item>
  </channel>
</rss>

