Cloudera Manager在安装时寻找其他主机

时间:2019-10-29 06:07:02

标签: centos7 cloudera host cloudera-cdh cloudera-manager

我正在安装Cloudera Manager。我在以下位置将主机定义为 localhost1.localdomain

/etc/hosts 
/etc/sysconfig/network

,并使用以下命令对其进行了验证:

uname -a
hostname
host -v -t A localhost1.localdomain

以下是输出:

Trying "localhost1.localdomain"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1383
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;localhost1.localdomain.        IN  A

;; ANSWER SECTION:
localhost1.localdomain. 86400   IN  A   10.16.49.32

;; AUTHORITY SECTION:
localdomain.        86400   IN  NS  localhost1.localdomain.

Received 70 bytes from 10.16.49.32#53 in 0 ms

我在UI中将主机指定为localhost1.localdomain Host

安装开始时继续前进,它将检测到Cloudera Manager Server,然后安装失败,说明:

Detecting Cloudera Manager Server...
**BEGIN host -t PTR cloudera1**
CentOS Linux release 7.7.1908 (Core)
Host cloudera1.10.16.49.32 not found: 2(SERVFAIL)
END (1)
BEGIN which python
END (0)
BEGIN python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' cloudera1 7182
/usr/bin/python
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.gaierror: [Errno -2] Name or service not known
END (1)
could not contact scm server at cloudera1:7182, giving up
waiting for rollback request
detected rollback request
rolling back installation
Reverting changes...
rollback started
Removing package repositories...
Cleaning the package manager cache...
BEGIN yum --disablerepo=* --enablerepo=cloudera* clean all
Loaded plugins: fastestmirror, langpacks
Cleaning repos: cloudera-cdh cloudera-manager
Cleaning up list of fastest mirrors
END (0)
BEGIN rm -Rf /var/cache/yum/x86_64
END (0)
Uninstalled.
rollback completed
closing logging file descriptor

当我已经定义了另一个主机名时,为什么Cloudera安装会寻找 cloudera1

0 个答案:

没有答案