重新部署hdfs客户端时出现如下错误:
Can't open /opt/cloudera-manager/cm-5.14.2/run/cloudera-scm-agent/process/ccdeploy_hadoop-conf_etchadoopconf.cloudera.hdfs_-8273061227018036616/hadoop-conf/hive-env.sh: No such file or directory.
.......
/var/lib/alternatives/hadoop-conf empty!
解决:
1、查看每个节点/var/lib/alternatives/hadoop-conf文件,若为空则到正常节点拷贝该文件
2、在该节点重启 service cloudera-scm-agent restart
3、重新部署客户端