无法在端口7180上设置cloudera manager Web - 群集安装

时间:2017-12-18 17:40:08

标签: hadoop installation cloudera-cdh cloudera-manager

我正在使用具有以下主机名的ubuntu本地计算机并尝试设置cloudera Hadoop Distribution CDH5。

chaithu@localhost:~$ hostname
localhost
chaithu@localhost:~$ hostname -f
localhost
chaithu@localhost:~$ ssh chaithu@localhost
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.8.0-36-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

449 packages can be updated.
232 updates are security updates.

Last login: Mon Dec 18 22:44:30 2017 from 127.0.0.1

无法检测到具有以下错误的root权限:

/tmp/scm_prepare_node.qkAAjdTz
using SSH_CLIENT to get the SCM hostname: 127.0.0.1 35708 22
opening logging file descriptor
Starting installation script...
Acquiring installation lock...
BEGIN flock 4
END (0)
Detecting root privileges...
effective UID is 1000
BEGIN which pbrun
END (1)
BEGIN sudo -S id
[sudo] password for chaithu:
END (1)
need root privileges but sudo requires password, exiting
closing logging file descriptor

屏幕截图,显示我遇到了CDH安装的问题。

enter image description here

1 个答案:

答案 0 :(得分:1)

您似乎缺少用于安装的用户的sudo或无密码sudo。

  • 为用于设置的用户配置sudo。
  • 确保为该用户配置无密码sudo。