Created 07-31-2024 02:12 AM
After I deleted the old cluster and then recreated a new one. I had a new error never got before at the Command Details step. I don't know exactly what is the reason, can someone help me fix this issue?
here is the Error Log of Cloudera scm server:
2024-07-31 15:56:09,184 ERROR CommandPusher-1:com.cloudera.cmf.model.DbCommand: Command 1546343795(Format) has completed. finalstate:FINISHED, success:false, msg:Failed to format NameNode.
2024-07-31 15:56:09,188 ERROR CommandPusher-1:com.cloudera.cmf.model.DbCommand: Command 1546343686(First Run) has completed. finalstate:FINISHED, success:false, msg:Completed only 3/4 steps. First failure: Command (Format (1546343795)) has failed
Thank you.
Created 07-31-2024 10:04 AM
@Tung if you are configuring a new cluster then the NN data directory should be empty, otherwise, NN formatting will fail. Please check if that's the issue else please paste the full error stack
Created 07-31-2024 06:18 AM
@Tung, Welcome to our community! To help you get the best possible answer, I have tagged in our CM experts @upadhyayk04 @Rajat_710 who may be able to assist you further.
Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.
Regards,
Vidya Sargur,Created 07-31-2024 06:23 AM
Hello @Tung
Thank you for reaching out. This seems to be coming from the namenode
Please expand the task there you will be able to see more errors
FINISHED, success:false, msg:Failed to format NameNode
Created 07-31-2024 10:04 AM
@Tung if you are configuring a new cluster then the NN data directory should be empty, otherwise, NN formatting will fail. Please check if that's the issue else please paste the full error stack
Created on 08-08-2024 01:33 AM - edited 08-08-2024 01:33 AM
Thank you, I resolved it after clear all /dfs/nn and /dfs/dn at all nodes, and recreated all databases.