Created on 08-14-2017 02:52 AM - edited 09-16-2022 05:05 AM
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!
Created 09-24-2018 04:42 AM
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:
Try to see Namenode log for more information when you start the service.
Regards,
Manu.
Created 09-25-2018 12:36 AM
@mmm286- in-case your issue is resolved , could you please kindly update the details and mark as solved