<?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 Replication failes with Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412500#M253495</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38161"&gt;@cravani&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/45798"&gt;@james_jones&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92016"&gt;@ggangadharan&lt;/a&gt;&amp;nbsp;Do you have some insights here? Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 25 Sep 2025 20:25:27 GMT</pubDate>
    <dc:creator>DianaTorres</dc:creator>
    <dc:date>2025-09-25T20:25:27Z</dc:date>
    <item>
      <title>Hive Replication failes with Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412491#M253488</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory for user/myname/.cm/distcp-staging/2025-09-21-05-14-47-c4f9/intermediate.1 at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:447) at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:152) at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:133) at org.apache.hadoop.io.SequenceFile$Sorter$MergeQueue.merge(SequenceFile.java:3566) at org.apache.hadoop.io.SequenceFile$Sorter.merge(SequenceFile.java:3360) at org.apache.hadoop.io.SequenceFile$Sorter.mergePass(SequenceFile.java:3336) at org.apache.hadoop.io.SequenceFile$Sorter.sort(SequenceFile.java:2899) at org.apache.hadoop.io.SequenceFile$Sorter.sort(SequenceFile.java:2938) at com.cloudera.enterprise.distcp.util.DistCpUtils.sortListing(DistCpUtils.java:427) at com.cloudera.enterprise.distcp.mapred.StatusReducer.lambda$deleteMissing$1(StatusReducer.java:152) at com.cloudera.enterprise.distcp.mapred.StatusReducerProgress.track(StatusReducerProgress.java:211) at com.cloudera.enterprise.distcp.mapred.StatusReducerProgress.trackSortSourceListing(StatusReducerProgress.java:223) at com.cloudera.enterprise.distcp.mapred.StatusReducer.deleteMissing(StatusReducer.java:151) at com.cloudera.enterprise.distcp.mapred.StatusReducer.cleanup(StatusReducer.java:89) at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:179) at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:628) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:390) at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:174) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1899) at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:168)&lt;BR /&gt;&lt;BR /&gt;This is the error I am getting at first I suspected if i don't have enough space in my local dir but all the dir have enough space, should not be permission issue as it only fail sometimes most of the time replication is successful but this issue persist atleast once a week. Can someone help where should i look next.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:16:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412491#M253488</guid>
      <dc:creator>ishashrestha</dc:creator>
      <dc:date>2026-04-21T06:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Replication failes with Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412500#M253495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38161"&gt;@cravani&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/45798"&gt;@james_jones&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92016"&gt;@ggangadharan&lt;/a&gt;&amp;nbsp;Do you have some insights here? Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 20:25:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412500#M253495</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2025-09-25T20:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Replication failes with Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412516#M253508</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/116128"&gt;@ishashrestha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Since the issue just happen intermittently is most likely that one of the workers nodes have a local disk issue.&lt;/P&gt;&lt;P&gt;Because the job will be executed as a MapReduce job, and Yarn creates their containers with scratch dirs locally, probably one of the nodes have this problem.&lt;/P&gt;&lt;P&gt;Please check the&amp;nbsp;yarn.nodemanager.local-dirs and mapreduce.cluster.local.dir to know the location of the scratch-dirs, then confirm if each worker node have enough disk space or the correct permissions.&lt;/P&gt;&lt;P&gt;Let me know if this is the case.&lt;/P&gt;&lt;P&gt;Best Regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 14:31:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412516#M253508</guid>
      <dc:creator>Shmoo</dc:creator>
      <dc:date>2025-09-26T14:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Replication failes with Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412517#M253509</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70785"&gt;@Shmoo&lt;/a&gt;&amp;nbsp;I initially thought the issue might be related to space in the local directory, but after checking, I noticed it sometimes fails and sometimes passes in the same node, even when the file sizes are similar and there's enough space in the dir. Is there anything else I might be missing that I should check?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 14:44:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412517#M253509</guid>
      <dc:creator>ishashrestha</dc:creator>
      <dc:date>2025-09-26T14:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Replication failes with Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412518#M253510</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/116128"&gt;@ishashrestha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Well, another thing is that the path user/myname/.cm/distcp-staging/... suggests this DistCp job was initiated or managed by Cloudera Manager (CM).&lt;/P&gt;&lt;P&gt;This process uses a separate staging directory, but it still relies on the NodeManager's local directories for intermediate sorting, which is where the error is occurring (SequenceFile$Sorter.sort).&lt;/P&gt;&lt;P&gt;Confirm that the user myname is correctly mapped and has the necessary permissions across the cluster. While you dismissed permissions, an intermittent Kerberos ticket issue or a transient user mapping problem on one specific node could cause this weekly failure.&lt;/P&gt;&lt;P&gt;The next steps should focus on reviewing the NodeManager health and logs for the specific nodes that failed, checking the status of the local scratch directories on those nodes, and coordinating the failure time with any scheduled system maintenance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 14:45:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412518#M253510</guid>
      <dc:creator>Shmoo</dc:creator>
      <dc:date>2025-09-26T14:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Replication failes with Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412519#M253511</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70785"&gt;@Shmoo&lt;/a&gt;Thank you for the details. I’ll review the mentioned points and check accordingly.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 14:56:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412519#M253511</guid>
      <dc:creator>ishashrestha</dc:creator>
      <dc:date>2025-09-26T14:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Replication failes with Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412581#M253557</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/116128"&gt;@ishashrestha&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 16:50:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412581#M253557</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2025-10-03T16:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Replication failes with Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412659#M253598</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70785"&gt;@Shmoo&lt;/a&gt;&amp;nbsp;The user that I am using for the replication should be able to write in the local directory in this case right? I tried logging in from the myname user and tried to create file in my local dir of nm but it said permission denied.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 17:06:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412659#M253598</guid>
      <dc:creator>ishashrestha</dc:creator>
      <dc:date>2025-10-13T17:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Replication failes with Error: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local directory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412660#M253599</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/116128"&gt;@ishashrestha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes, the user needs to have permission to write to that directory. You can test to execute with another user that already have that permissions.&lt;/P&gt;&lt;P&gt;Let me know if works.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 17:41:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-Replication-failes-with-Error-org-apache-hadoop-util/m-p/412660#M253599</guid>
      <dc:creator>Shmoo</dc:creator>
      <dc:date>2025-10-13T17:41:40Z</dc:date>
    </item>
  </channel>
</rss>

