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
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.
Hi, I have the same issue. Did you find a way to fix it? @sidhusam84
nope . I used big-data-europe/docker-hadoop
same here
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.