Reply
Explorer
Posts: 22
Registered: ‎07-16-2016

Configured Capacity 0

Hi,

I can't understand why capactiy is 0:

 

afe mode is ON
Configured Capacity: 0 (0 B)
Present Capacity: 0 (0 B)
DFS Remaining: 0 (0 B)
DFS Used: 0 (0 B)
DFS Used%: NaN%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0
Missing blocks (with replication factor 1): 0

-------------------------------------------------
report: Access denied for user root. Superuser privilege is required
root@clusterb1:/var/log/hadoop-mapreduce# sudo -u hdfs dfsadmin -report
sudo: dfsadmin: orden no encontrada
root@clusterb1:/var/log/hadoop-mapreduce# sudo -u hdfs hdfs dfsadmin -report
Safe mode is ON
Configured Capacity: 0 (0 B)
Present Capacity: 0 (0 B)
DFS Remaining: 0 (0 B)
DFS Used: 0 (0 B)
DFS Used%: NaN%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0
Missing blocks (with replication factor 1): 0

-------------------------------------------------
Dead datanodes (4):

Name: 192.168.1.114:50010 (clusterb4.dummy.es)
Hostname: clusterb4.dummy.es
Decommission Status : Normal
Configured Capacity: 0 (0 B)
DFS Used: 0 (0 B)
Non DFS Used: 0 (0 B)
DFS Remaining: 0 (0 B)
DFS Used%: 100.00%
DFS Remaining%: 0.00%
Configured Cache Capacity: 0 (0 B)
Cache Used: 0 (0 B)
Cache Remaining: 0 (0 B)
Cache Used%: 100.00%
Cache Remaining%: 0.00%
Xceivers: 0
Last contact: Thu Jan 01 01:00:00 CET 1970


Name: 192.168.1.115:50010 (clusterb5.dummy.es)
Hostname: clusterb5.dummy.es
Decommission Status : Normal
Configured Capacity: 0 (0 B)
DFS Used: 0 (0 B)
Non DFS Used: 0 (0 B)
DFS Remaining: 0 (0 B)
DFS Used%: 100.00%
DFS Remaining%: 0.00%
Configured Cache Capacity: 0 (0 B)
Cache Used: 0 (0 B)
Cache Remaining: 0 (0 B)
Cache Used%: 100.00%
Cache Remaining%: 0.00%
Xceivers: 0
Last contact: Thu Jan 01 01:00:00 CET 1970


Name: 192.168.1.112:50010 (clusterb2.dummy.es)
Hostname: clusterb2.dummy.es
Decommission Status : Normal
Configured Capacity: 0 (0 B)
DFS Used: 0 (0 B)
Non DFS Used: 0 (0 B)
DFS Remaining: 0 (0 B)
DFS Used%: 100.00%
DFS Remaining%: 0.00%
Configured Cache Capacity: 0 (0 B)
Cache Used: 0 (0 B)
Cache Remaining: 0 (0 B)
Cache Used%: 100.00%
Cache Remaining%: 0.00%
Xceivers: 0
Last contact: Thu Jan 01 01:00:00 CET 1970


Name: 192.168.1.113:50010 (clusterb3.dummy.es)
Hostname: clusterb3.dummy.es
Decommission Status : Normal
Configured Capacity: 0 (0 B)
DFS Used: 0 (0 B)
Non DFS Used: 0 (0 B)
DFS Remaining: 0 (0 B)
DFS Used%: 100.00%
DFS Remaining%: 0.00%
Configured Cache Capacity: 0 (0 B)
Cache Used: 0 (0 B)
Cache Remaining: 0 (0 B)
Cache Used%: 100.00%
Cache Remaining%: 0.00%
Xceivers: 0
Last contact: Thu Jan 01 01:00:00 CET 1970

Someone knows why is 0? I'm using lxc but I think that is not a problem.

 

Thanks!

 

 

Expert Contributor
Posts: 104
Registered: ‎02-23-2018

Re: Configured Capacity 0

Hi @mmm286,

 

It looks like you have some problems:

 

1) report: Access denied for user root. Superuser privilege is required

that indicates your os user "root" is not the superuser of HDFS (root is just the "superuser" of the operating system).

Try to do the same as user "hdfs" (which is by default the hdfs superuser), as root do:

 

su - hdfs
hdfs dfsadmin -report

Basically, the HDFS superuser is the user, under which account the Namenode is started.

 

2)Safe mode is ON

 

In VM there is only one file system. Login as root

Try:

  • df -sh (one of the mount points will show ~100%)
  • du -sh / (it will list size of each of the directory)
  • If any directory other than your namenode and datanode directories taking up too much space, you can start cleaning up
  • Also you can run hadoop fs -du -s -h /user/hadoop (to see usage of the directories)

 

Try to see Namenode log for more information when you start the service.

 

Regards,

Manu.

Highlighted
Contributor
Posts: 43
Registered: ‎03-19-2018

Re: Configured Capacity 0

@mmm286- in-case your issue is resolved , could you please kindly update the details and mark as solved

Announcements

Our community is getting a little larger. And a lot better.


Learn More about the Cloudera and Hortonworks community merger planned for late July and early August.