Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Configured Capacity 0

Configured Capacity 0

Explorer

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!

 

 

2 REPLIES 2

Re: Configured Capacity 0

Expert Contributor

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.

Re: Configured Capacity 0

Explorer

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