http://localhost:50070 does not work HADOOP

前端 未结 12 1384
庸人自扰
庸人自扰 2020-12-12 14:54

I already installed Hadoop on my machine \"Ubuntu 13.05\" and now I have an error when browsing localhost:50070 the browser says that the page does not exist.

12条回答
  •  忘掉有多难
    2020-12-12 15:56

    For recent hadoop versions (I'm using 2.7.1)

    The start\stop scripts are located in the sbin folder. The scripts are:

    • ./sbin/start-dfs.sh
    • ./sbin/stop-dfs.sh
    • ./sbin/start-yarn.sh
    • ./sbin/stop-yarn.sh

    I didn't have to do anything with yarn though to get the NameNodeServer instance running.

    Now my mistake was that I didn't format the NameNodeServer HDFS.

    bin/hdfs namenode -format
    

    I'm not quite sure what that does at the moment but it obviously prepares the space on which the NameNodeServer will use to operate.

提交回复
热议问题