Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

FIRST_TIME_MOUNT in startup-script.sh not set causing NameNode to not be formatted. #1

Open
jkpchang opened this issue May 20, 2014 · 0 comments

Comments

@jkpchang
Copy link

Hi.. I noticed that the NameNode is not started properly in the Hadoop master log file, because it's not formatted.. I dug deeper.. turns out that in startup-script.sh, there's this:

if (( $FIRST_TIME_MOUNT )) ; then
run_as_hadoop "Failed to format HDFS"
"echo 'Y' | hadoop namenode -format"
fi

Where is FIRST_TIME_MOUNT set?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant