報錯信息:MainThread agent ERROR Heartbeating to localhost:7182 failed.
解決:配置CM Agent
cm的安裝包的server和agent都是同一個包,啟動的時候啟動命令指定為server還是agent;cm有一個工作目錄,需要
我們來創建;創建一個用戶;修改agent的配置,給它指定server的位置;那個端口7182是server和agent通信的端口;
server_host配置為server的名字;
修改文件/opt/cloudera-manager/cm-5.4.3/etc/cloudera-scm-agent/config.ini中 server_host(三台機器)
報錯信息:ERROR Heartbeating to master:7182 failed。
錯誤解釋:向master節點的指定端口7180發送心跳檢測失敗。
首次啟動Agent,它會生成一個uuid,路徑為:/opt/cm-5.1.3/lib/cloudera-scm-agent/uuid,如果每台機器上的Agent的uuid都是一樣,就會出現報錯情況。
報錯解決:
進入目錄:cd /opt/cm-5.15.1/lib/cloudera-scm-agent/
刪除uuid:rm -rf uuid
重啟agent:/opt/cm-5.15.1/etc/init.d/cloudera-scm-agent restart
報錯信息:loudemanager安裝時出現8475 MainThread agent ERROR Heartbeating to 192.168.30.1:7182 failed問題解決方法
# ps aux | grep super
root 18949 0.0 0.1 223624 12996 ? Ss 11:16 0:00 /opt/cm-5.7.0/lib64/cmf/agent/build/env/bin/python /opt/cm-5.7.0/lib64/cmf/agent/build/env/bin/supervisord
root 23390 0.0 0.0 112656 972 pts/0 S+ 11:37 0:00 grep --color=auto super
#kill 18949
sudo service cloudera-scm-agent stop
Unable to retrieve remote parcel repository manifest
不影響使用
報錯信息:KeyError: 'getpwnam(): name not found: cloudera-scm'
groupadd cloudera-scm
useradd cloudera-scm -g cloudera-scm
chown cloudera-scm:cloudera-scm /var/log/cloudera-scm(缺少用戶信息)