Asianux7.6安装hdp集群
yh 2021-2-19 4633

您好,请问Asianux7.6支持安装HDP集群吗?我按照CentOS7安装HDP集群(Ambari2.7.4+HDP3.1.4)的方式,报错:

[root@master java]# ambari-server setup
Using python /usr/bin/python
Setup ambari-server
Checking SELinux...
SELinux status is 'disabled'
Customize user account for ambari-server daemon [y/n] (n)? n
ERROR: Unexpected error Ambari repo file path not set for current OS.
ERROR: Exiting with exit code 1.
REASON: Failed to create user. Exiting.

希望能尽快收到回复,十分感谢!!

最新回复 (2)
  • 0 2
    cd /usr/lib/ambari-server/lib/ambari_commons/
    python2

    >>>from os_check import OSCheck
    >>>OSCheck.os_distribution()
    此处可以看到你当前的系统os

    查看os_check.py文件,发现在/etc/下只要有redhat-release,则会绕过os检查
    所以我们touch /etc/redhat-release即可
    再次ambari-server setup就不会报错了。
    2023-5-6 回复
  • 0 3
    请问最终怎么解决的
    8月前 回复
返回