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

前端 未结 4 479
走了就别回头了
走了就别回头了 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:08

    UnknownHostException is thrown when hadoop tries to resolve the DNS name (srv-clc-04.univ-nantes.prive3) to an ip address. This fails.

    Look for the domain name in the configuration files and replace it by "localhost". (Or update the DNS up resolve the name to an ip address)

提交回复
热议问题