<?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: hive testbench shuffle error when running tpch setup in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-testbench-shuffle-error-when-running-tpch-setup/m-p/301585#M220755</link>
    <description>&lt;P&gt;The issue could be associated with the c&lt;SPAN&gt;orrupt permissions in NM local-dir (usercache) are causing the shuffle fetch failure which may occur due to the below reasons,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&lt;/SPAN&gt;&lt;SPAN&gt;Disk failure cause the fetch failure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;Network issue causes the fetch failure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This can be overcome by carrying out the below steps in the NodeManger installed nodes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* Stop the NM instance on the node&lt;BR /&gt;* Remove YARN NM local-dir path&lt;BR /&gt;- sudo rm -rf /JBOD_D${i}/hadoop/cdh/yarn/nm/*" where ${i} is the iteration over the disks that each participate as NM local-dir storage&lt;BR /&gt;- the idea is to leave /JBOD_D${i}/hadoop/cdh/yarn/nm in place on each disk, but remove everything below that point.&lt;BR /&gt;* Restart the NM instance and it will recreate the structure with the appropriate permissions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have implemented the above solution and if it continues to&amp;nbsp; working well, then please spare few minutes to hit the "Accept as Solution"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 08:50:14 GMT</pubDate>
    <dc:creator>Krishnadevan</dc:creator>
    <dc:date>2020-08-17T08:50:14Z</dc:date>
  </channel>
</rss>

