Created 09-20-2022 06:58 AM
i accidentally added secondary name node in HDFS configuration in CDP 7.
I tried removing the roles and hosts but both operations are failing
1. Removal of hosts (hosts->decomission) is failing with Failed to refresh NameNode.
2. When removing it from HDFS ( HDFS-> Instances-> select SSN role->Decommission) is failing with Only DataNode roles can be decommissioned
Now the whole cluster is messed up; I can neither add nor remove hosts. Is there way to fix this without recreating the cluster?
Created 09-21-2022 01:20 AM
HI @gocham
You can stop the Secondary Namenode and then delete it from the Instance page of HDFS. Decommission is used for Datanodes.
Created 09-21-2022 05:11 AM
hi,
I tried that but getting message that only DataNodes can be deleted.
Created 09-21-2022 06:33 AM
HI, can you provide a screenshot of this operation.