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