<?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: Can't set mapreduce.shuffle.max.connections to 0 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-set-mapreduce-shuffle-max-connections-to-0/m-p/28086#M3371</link>
    <description>&lt;P&gt;Hi Jiro,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for bringing this to our attention. &amp;nbsp;It appears there's a bug with the validation for that property, in which the lower bound should be 0 and not 1. &amp;nbsp;We'll get this fixed in a future release. &amp;nbsp;In the meantime, you can accomplish setting mapreduce.shuffle.max.connections to 0 by setting it in a specific Safety Valve in Cloudera Manager. &amp;nbsp;Please follow the directions listed below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Login to CM with admin privileges if you haven't done so already.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Navigate to the YARN configuration page (CM -&amp;gt; Clusters -&amp;gt; YARN -&amp;gt; Configuration)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Naviate to Gateway Default Group -&amp;gt; Advanced -&amp;gt;&amp;nbsp;&lt;SPAN&gt;MapReduce Client Advanced Configuration Snippet (Safety Valve) for mapred-site.xml&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;In the field marked&amp;nbsp;&lt;STRONG&gt;Value&lt;/STRONG&gt;, please enter in the following entry:&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;mapreduce.shuffle.max.connections&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;0&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;5. Save changes then Deploy client configuration&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2015 17:43:22 GMT</pubDate>
    <dc:creator>Anthony</dc:creator>
    <dc:date>2015-05-29T17:43:22Z</dc:date>
    <item>
      <title>Can't set mapreduce.shuffle.max.connections to 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-set-mapreduce-shuffle-max-connections-to-0/m-p/20650#M3370</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to set mapreduce.shuffle.max.connections to 0, but a validation error occured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The doc says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set to 0 (zero) to indicate no limit on the number of connections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: 0 is less than the minimum allowed value 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the attached screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Version: Cloudera Enterprise Data Hub Edition Trial 5.2.0 (#60 built by jenkins on 20141012-2239 git: 179000584849e68f98ad2a7fe710723bd6c29c98)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CDH: 5.1.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="mapreduce.shuffle.max.connections.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/692i1242DC8470C46267/image-size/large?v=v2&amp;amp;px=999" role="button" title="mapreduce.shuffle.max.connections.png" alt="mapreduce.shuffle.max.connections.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:10:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-set-mapreduce-shuffle-max-connections-to-0/m-p/20650#M3370</guid>
      <dc:creator>jiro</dc:creator>
      <dc:date>2022-09-16T09:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't set mapreduce.shuffle.max.connections to 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-set-mapreduce-shuffle-max-connections-to-0/m-p/28086#M3371</link>
      <description>&lt;P&gt;Hi Jiro,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for bringing this to our attention. &amp;nbsp;It appears there's a bug with the validation for that property, in which the lower bound should be 0 and not 1. &amp;nbsp;We'll get this fixed in a future release. &amp;nbsp;In the meantime, you can accomplish setting mapreduce.shuffle.max.connections to 0 by setting it in a specific Safety Valve in Cloudera Manager. &amp;nbsp;Please follow the directions listed below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Login to CM with admin privileges if you haven't done so already.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Navigate to the YARN configuration page (CM -&amp;gt; Clusters -&amp;gt; YARN -&amp;gt; Configuration)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Naviate to Gateway Default Group -&amp;gt; Advanced -&amp;gt;&amp;nbsp;&lt;SPAN&gt;MapReduce Client Advanced Configuration Snippet (Safety Valve) for mapred-site.xml&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;In the field marked&amp;nbsp;&lt;STRONG&gt;Value&lt;/STRONG&gt;, please enter in the following entry:&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;mapreduce.shuffle.max.connections&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;0&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;5. Save changes then Deploy client configuration&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 17:43:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-set-mapreduce-shuffle-max-connections-to-0/m-p/28086#M3371</guid>
      <dc:creator>Anthony</dc:creator>
      <dc:date>2015-05-29T17:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can't set mapreduce.shuffle.max.connections to 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-set-mapreduce-shuffle-max-connections-to-0/m-p/28092#M3372</link>
      <description>Thanks!</description>
      <pubDate>Sat, 30 May 2015 05:21:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-set-mapreduce-shuffle-max-connections-to-0/m-p/28092#M3372</guid>
      <dc:creator>jiro</dc:creator>
      <dc:date>2015-05-30T05:21:03Z</dc:date>
    </item>
  </channel>
</rss>

