50070 not visit one of the reasons ---- namenode does not start

namenode default create temporary files in / tmp, but after the shutdown, / tmp under document automatically deleted, starting Master again caused file does not match, so namenode failed to start.
In the core-site.xml specified in the temporary file location, and then reformat the ultimate solution!

hadoop.tmp.dir
/usr/grid/hadoop1.7.0_17/hadoop $ {_ the user.name }

path is not as long as the value in / tmp line

Guess you like

Origin blog.csdn.net/xiao_xiao_b/article/details/92674639