Setting fs.default.name in core-site.xml Sets HDFS to Safemode

后端 未结 2 1869
死守一世寂寞
死守一世寂寞 2020-12-30 12:11

I installed the Cloudera CDH4 distribution on a single machine in pseudo-distributed mode and successfully tested that it was working correctly (e.g. can run MapReduce progr

2条回答
  •  生来不讨喜
    2020-12-30 12:38

    The issue stemmed from domain name resolution. The /etc/hosts file needed to be modified to point the IP address of the machine of the hadoop machine for both localhost and the fully qualified domain name.

    192.168.0.201 hadoop.fully.qualified.domain.com localhost
    

提交回复
热议问题