Problems with starting hdfs

After executing the jps command, I found that

NameNode
SecondaryNameNode
DataNode

failed to start

 

So check before restarting the start-dfs.sh file and the following problems occur

problem show

SecondaryNameNode    DataNode

Seeing that all three have problems, I don't panic, which means that there is a problem with the configuration file.

Sure enough, in the core configuration file core-site.xml the name attribute is capitalized incorrectly

 

After modification, it is found that hdfs can be successfully started

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324658989&siteId=291194637