docker-hadoop icon indicating copy to clipboard operation
docker-hadoop copied to clipboard

namenode keep restarting Please restart NameNode with the "-rollingUpgrade started" option if a rolling upgrade is already started; or restart NameNode with the "-upgrade" option to start a new upgrade

Open sidhusam84 opened this issue 4 years ago • 4 comments

Thanks Matt for this github repository. I've clone your repository and was trying to spin up the docker container. for some reason namenode container keep restarting

getting this error

An upgrade to version -66 is required. namenode | Please restart NameNode with the "-rollingUpgrade started" option if a rolling upgrade is already started; or restart NameNode with the "-upgrade" option to start a new upgrade

is there any quick way to fix this issue.

sidhusam84 avatar Apr 14 '22 18:04 sidhusam84

Hi, I have the same issue. Did you find a way to fix it? @sidhusam84

jsalguero94 avatar May 25 '22 05:05 jsalguero94

nope . I used big-data-europe/docker-hadoop

sidhusam84 avatar May 25 '22 06:05 sidhusam84

same here

manoloacademia avatar Sep 18 '22 15:09 manoloacademia

first, in host machine, run and enter docker container:

docker-compose run namenode /bin/bash

second, in docker container(above command will lead you in docker): $HADOOP_HOME/bin/hdfs --config $HADOOP_CONF_DIR namenode -upgrade

Notice the last argument -upgrade.

Ctrl+c and exit close. Then docker-compose up -d

Everything works ok.

upidea avatar Dec 08 '22 11:12 upidea