<?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>topic Install Python for Scientific Computing on cluster - tarball too large and caused Network-layer error: Broken pipe in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Install-Python-for-Scientific-Computing-on-cluster-tarball-too/m-p/574144#M10845</link>
    <description>&lt;P&gt;I tried to upgrade&amp;nbsp;&lt;STRONG&gt;Python for Scientific Computing&lt;/STRONG&gt; to v5.3 on my cluster.&amp;nbsp; I followed the instructions in &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/DistSearch/PropagateSHCconfigurationchanges" target="_self"&gt;here&lt;/A&gt; and first un-tar the add-on on my master node.&lt;/P&gt;&lt;P&gt;However, whenever I ran /opt/splunk/bin/splunk apply shcluster-bundle, I will always get this error.&lt;/P&gt;&lt;PRE&gt;Error while deploying apps to first member, aborting apps deployment to all members: &lt;BR /&gt;Error while updating app=Splunk_SA_Scientific_Python_linux_x86_64 on &lt;BR /&gt;target=https://172.18.109.2:8089: Network-layer error: Broken pipe&lt;/PRE&gt;&lt;P&gt;This kind of error didn't happen when I installed another smaller add-on earlier this morning.&amp;nbsp; And after failing with that error multiple times, I noticed the &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/DistSearch/PropagateSHCconfigurationchanges#Deploy_a_configuration_bundle" target="_self"&gt;doc&lt;/A&gt; says:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you attempt to push a very large tarball (&amp;gt;200 MB), the operation might fail due to various timeouts. Delete some of the contents from the tarball's app, if possible, and try again.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Since the original python-for-scientific-computing-for-linux-64-bit_300.tgz is already 480MB, and the size of the un-tar and&amp;nbsp; unzipped /opt/splunk/etc/shcluster/apps/Splunk_SA_Scientific_Python_linux_x86_64 folder on the master node is 2.5G!&amp;nbsp; I bet the large tarball size is the problem.&lt;/P&gt;&lt;P&gt;But how can I solve this problem?&amp;nbsp; What contents from the tarball's app can I delete?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 07:13:39 GMT</pubDate>
    <dc:creator>patng_nw</dc:creator>
    <dc:date>2021-11-09T07:13:39Z</dc:date>
    <item>
      <title>Install Python for Scientific Computing on cluster - tarball too large and caused Network-layer error: Broken pipe</title>
      <link>https://community.splunk.com/t5/Installation/Install-Python-for-Scientific-Computing-on-cluster-tarball-too/m-p/574144#M10845</link>
      <description>&lt;P&gt;I tried to upgrade&amp;nbsp;&lt;STRONG&gt;Python for Scientific Computing&lt;/STRONG&gt; to v5.3 on my cluster.&amp;nbsp; I followed the instructions in &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/DistSearch/PropagateSHCconfigurationchanges" target="_self"&gt;here&lt;/A&gt; and first un-tar the add-on on my master node.&lt;/P&gt;&lt;P&gt;However, whenever I ran /opt/splunk/bin/splunk apply shcluster-bundle, I will always get this error.&lt;/P&gt;&lt;PRE&gt;Error while deploying apps to first member, aborting apps deployment to all members: &lt;BR /&gt;Error while updating app=Splunk_SA_Scientific_Python_linux_x86_64 on &lt;BR /&gt;target=https://172.18.109.2:8089: Network-layer error: Broken pipe&lt;/PRE&gt;&lt;P&gt;This kind of error didn't happen when I installed another smaller add-on earlier this morning.&amp;nbsp; And after failing with that error multiple times, I noticed the &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.3/DistSearch/PropagateSHCconfigurationchanges#Deploy_a_configuration_bundle" target="_self"&gt;doc&lt;/A&gt; says:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you attempt to push a very large tarball (&amp;gt;200 MB), the operation might fail due to various timeouts. Delete some of the contents from the tarball's app, if possible, and try again.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Since the original python-for-scientific-computing-for-linux-64-bit_300.tgz is already 480MB, and the size of the un-tar and&amp;nbsp; unzipped /opt/splunk/etc/shcluster/apps/Splunk_SA_Scientific_Python_linux_x86_64 folder on the master node is 2.5G!&amp;nbsp; I bet the large tarball size is the problem.&lt;/P&gt;&lt;P&gt;But how can I solve this problem?&amp;nbsp; What contents from the tarball's app can I delete?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 07:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Install-Python-for-Scientific-Computing-on-cluster-tarball-too/m-p/574144#M10845</guid>
      <dc:creator>patng_nw</dc:creator>
      <dc:date>2021-11-09T07:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Install Python for Scientific Computing on cluster - tarball too large and caused Network-layer error: Broken pipe</title>
      <link>https://community.splunk.com/t5/Installation/Install-Python-for-Scientific-Computing-on-cluster-tarball-too/m-p/575206#M10886</link>
      <description>&lt;DIV&gt;&lt;FONT color="#000000"&gt;I have resolved the problem myself.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;On the deployer, the size of the folder&amp;nbsp;&lt;/FONT&gt;/opt/splunk/etc/shcluster/apps/Splunk_SA_Scientific_Python_linux_x86_64 kept growing because several older versions of "Python for Scientific Computing" were deployed in the past (which is normal) and the libraries for Python 2.7, 3.7 and 3.8 (the latest one) were all inside, resulting in the folder's total size becoming like 5GB.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The solution is to remove the Splunk_SA_Scientific_Python_linux_x86_64 folder, then un-tar the&amp;nbsp;python-for-scientific-computing-for-linux-64-bit_300.tgz file, and then&amp;nbsp;masterBundlePush.sh won't fail this time.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Nov 2021 07:45:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Install-Python-for-Scientific-Computing-on-cluster-tarball-too/m-p/575206#M10886</guid>
      <dc:creator>patng_nw</dc:creator>
      <dc:date>2021-11-17T07:45:25Z</dc:date>
    </item>
  </channel>
</rss>

