<?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: HDFS capacity is 0 but all DataNode are live in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/187617#M80331</link>
    <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/83550/yunding.html" nodeid="83550"&gt;@Yun Ding&lt;/A&gt; ! &lt;BR /&gt;Could you check the following outputs?&lt;/P&gt;&lt;PRE&gt;hdfs dfs -du -h /&lt;BR /&gt;hdfs dfsadmin -report &lt;BR /&gt;lsblk
df -h
&lt;/PRE&gt;&lt;P&gt;And also check the value for this parameter on Ambari:&lt;BR /&gt;dfs.datanode.du.reserved&lt;/P&gt;&lt;P&gt;PS: Just in case, check the permission for the dfs.datanode.data.dir directory, should it be owned by hdfs:hadoop.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jul 2018 13:10:16 GMT</pubDate>
    <dc:creator>vmurakami</dc:creator>
    <dc:date>2018-07-06T13:10:16Z</dc:date>
    <item>
      <title>HDFS capacity is 0 but all DataNode are live</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/187616#M80330</link>
      <description>&lt;P&gt;I have 2 DataNodes and both are live. However, the dashboard shows that the HDFS Disk Usage is n/a, and capacity is zero (see the screenshot).&lt;/P&gt;&lt;P&gt;I tried to put some files to hdfs through "hadoop fs -put hello.txt /", and got the error&lt;/P&gt;&lt;PRE&gt; File /hello.txt._COPYING_ could only be replicated to 0 nodes instead of minReplication (=1).  There are 2 datanode(s) running and no node(s) are excluded in this operation.&lt;/PRE&gt;&lt;P&gt;I guess this means the NameNode knows the existence of 2 DataNodes, and none is excluded from the "-put" operation?&lt;/P&gt;&lt;P&gt;I have checked the "dfs.datanode.data.dir", and it is pointing to the correct directory with 500G available space.&lt;/P&gt;&lt;P&gt;How can I resolve this issue?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="79405-screen-shot-2018-07-05-at-95951-am.png" style="width: 992px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18702i512344198C261CBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="79405-screen-shot-2018-07-05-at-95951-am.png" alt="79405-screen-shot-2018-07-05-at-95951-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:00:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/187616#M80330</guid>
      <dc:creator>yunding</dc:creator>
      <dc:date>2019-08-18T08:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS capacity is 0 but all DataNode are live</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/187617#M80331</link>
      <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/83550/yunding.html" nodeid="83550"&gt;@Yun Ding&lt;/A&gt; ! &lt;BR /&gt;Could you check the following outputs?&lt;/P&gt;&lt;PRE&gt;hdfs dfs -du -h /&lt;BR /&gt;hdfs dfsadmin -report &lt;BR /&gt;lsblk
df -h
&lt;/PRE&gt;&lt;P&gt;And also check the value for this parameter on Ambari:&lt;BR /&gt;dfs.datanode.du.reserved&lt;/P&gt;&lt;P&gt;PS: Just in case, check the permission for the dfs.datanode.data.dir directory, should it be owned by hdfs:hadoop.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 13:10:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/187617#M80331</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-07-06T13:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS capacity is 0 but all DataNode are live</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/187618#M80332</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/79158/vmurakami.html" nodeid="79158"&gt;@Vinicius Higa Murakami&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;it was due to the permission for the dfs.datanode.data.dir directory. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 22:07:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/187618#M80332</guid>
      <dc:creator>yunding</dc:creator>
      <dc:date>2018-07-06T22:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS capacity is 0 but all DataNode are live</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/187619#M80333</link>
      <description>&lt;P&gt;Good to know! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 22:56:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/187619#M80333</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-07-06T22:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS capacity is 0 but all DataNode are live</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/333795#M80334</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;is it&amp;nbsp;dfs_datanode_data_dir_perm?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what's your previous value for it when it couldn't write?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 06:28:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-capacity-is-0-but-all-DataNode-are-live/m-p/333795#M80334</guid>
      <dc:creator>macweiyanen</dc:creator>
      <dc:date>2022-01-14T06:28:01Z</dc:date>
    </item>
  </channel>
</rss>

