【原创】大叔经验分享(31)CM金丝雀Canary报错

CM金丝雀Canary报错

1 HDFS 金丝雀
Canary 测试无法为 /tmp/.cloudera_health_monitoring_canary_files 创建父目录。

2 Hive Metastore Canary
Hive Metastore canary 创建 hue hdfs 主目录失败。

检查:

1)hdfs是否处于safemode,正常是off

# hdfs dfsadmin -safemode get
Safe mode is OFF

2)hdfs datanode是否健康,磁盘空间是否空闲,可自行上传文件测试

# hdfs dfsadmin -report

3)根据错误提示查看目录权限,如果有问题,改为777

# hdfs dfs -ls /tmp
Found 3 items
d--------- - hdfs supergroup 0 2019-02-18 23:57 /tmp/.cloudera_health_monitoring_canary_files
# hdfs dfs -chmod 777 /tmp/.cloudera_health_monitoring_canary_files

如果都确认过还报错,请重启cloudera-scm-server

原文地址:https://www.cnblogs.com/barneywill/p/10400788.html