<?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: Exception while Loading Data to HDFS from Talend in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368034#M240042</link>
    <description>&lt;P&gt;first of all, thanks for answering&amp;nbsp;&lt;/P&gt;&lt;P&gt;I actually Have 1 data node and it is running not 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to check the file&amp;nbsp;&lt;FONT color="#FF0000"&gt;dfs.exclude&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;but it's empty&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Apr 2023 10:55:12 GMT</pubDate>
    <dc:creator>YasBHK</dc:creator>
    <dc:date>2023-04-09T10:55:12Z</dc:date>
    <item>
      <title>Exception while Loading Data to HDFS from Talend</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368022#M240034</link>
      <description>&lt;P&gt;When I try to put files to HDFS with Talend, it creates the file but the file is empty I get this error :&lt;/P&gt;&lt;P&gt;File /user/hdfs/data/file.xlsx could only be written to 0 of the 1 minReplication nodes. There are 1 datanode(s) running and 1 node(s) are excluded in this operation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm really struggling&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope someone can help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Apr 2023 21:02:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368022#M240034</guid>
      <dc:creator>YasBHK</dc:creator>
      <dc:date>2023-04-08T21:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while Loading Data to HDFS from Talend</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368031#M240040</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104494"&gt;@YasBHK&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please ensure both data nodes (2) are running.&lt;BR /&gt;You definitely have an issue with one of the data nodes and because of your replication factor which I guess is 2 from the output the file&amp;nbsp;&lt;SPAN&gt;/user/hdfs/data/file.xlsx can't be persisted if it can't meet the min replication of 2.&lt;BR /&gt;Firstly understand why the second data node has been excluded by YARN either&amp;nbsp; its space related issue or it just isn't started.&lt;BR /&gt;Please check the &lt;FONT color="#FF0000"&gt;dfs.hosts.exclude&lt;/FONT&gt; location usually in HDP &lt;FONT color="#FF0000"&gt;/etc/hadoop/conf/dfs.exclude&lt;/FONT&gt;&amp;nbsp;remove the host in the file and run the below&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hdfs dfsadmin -refreshNodes or from Ambari Ui just run the refresh nodes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="refreshnode.PNG" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37222i44934032710748DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="refreshnode.PNG" alt="refreshnode.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;That should resolve the issue.&lt;BR /&gt;Restart the faulty datanode and your HDFS put command will succeed&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 10:26:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368031#M240040</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2023-04-09T10:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while Loading Data to HDFS from Talend</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368032#M240041</link>
      <description>&lt;P&gt;first of all, thanks for answering&amp;nbsp;&lt;/P&gt;&lt;P&gt;I actually Have 1 data node and it is running not 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to check the file&amp;nbsp;&lt;FONT color="#FF0000"&gt;dfs.exclude&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;but it's empty&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 10:54:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368032#M240041</guid>
      <dc:creator>YasBHK</dc:creator>
      <dc:date>2023-04-09T10:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while Loading Data to HDFS from Talend</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368034#M240042</link>
      <description>&lt;P&gt;first of all, thanks for answering&amp;nbsp;&lt;/P&gt;&lt;P&gt;I actually Have 1 data node and it is running not 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to check the file&amp;nbsp;&lt;FONT color="#FF0000"&gt;dfs.exclude&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;but it's empty&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 10:55:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368034#M240042</guid>
      <dc:creator>YasBHK</dc:creator>
      <dc:date>2023-04-09T10:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while Loading Data to HDFS from Talend</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368040#M240043</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104494"&gt;@YasBHK&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;File &lt;FONT color="#FF0000"&gt;/user/hdfs/data/file.xlsx could only be written to 0 of the 1 minReplication nodes&lt;/FONT&gt;. There are 1 datanode(s) running and 1 node(s) are excluded in this operation.&lt;BR /&gt;&lt;/SPAN&gt;So that means your data node is down can you restart the HDFS service and retry?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 16:06:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Exception-while-Loading-Data-to-HDFS-from-Talend/m-p/368040#M240043</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2023-04-09T16:06:52Z</dc:date>
    </item>
  </channel>
</rss>

