“hadoop namenode -format” returns a java.net.UnknownHostException

前端 未结 4 478
走了就别回头了
走了就别回头了 2020-12-16 05:36

I\'m currently learning hadoop and I\'m trying to setup a single node test as defined in http://hadoop.apache.org/common/docs/current/single_node_setup.html

I\'ve co

4条回答
  •  北海茫月
    2020-12-16 06:09

    The tmp directory that you have created should have ownership issues. That is why hadoop is not able to write to the tmp directoy to fix it run the following commands

    sudo chown hduser:hadoop /app/
    

提交回复
热议问题