big-data-europe / docker-hadoop

Apache Hadoop docker image
2.2k stars 1.3k forks source link

Failed to Start up, "Please restart NameNode with the '-rollingUpgrade started' option" #92

Open chzheng2000 opened 3 years ago

chzheng2000 commented 3 years ago

I am new to docker and hadoop. I directly typed "docker-compose up" and the log file shows the NameNode cannot start properly. It tells me to upgrade the NameNode or something but I have totally no idea what to do... I would appreciate it if anyone could help me out

image
chzheng2000 commented 3 years ago

After some google, it seems to ask me to make some "HDFS Metadata Upgrade" but how can I execute command with namenode being unable to start? The error message shows "rollingUpgrade: java.net.UnknownHostException: namenode" when I tried "hdfs dfsadmin -rollingUpgrade prepare".

cynthiavincent commented 3 years ago

I have the same issue as well. Any luck?