大叔经验分享(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
---------------------------------------------------------------- 结束啦,我是大魔王先生的分割线 :) ----------------------------------------------------------------
- 由于大魔王先生能力有限,文中可能存在错误,欢迎指正、补充!
- 感谢您的阅读,如果文章对您有用,那么请为大魔王先生轻轻点个赞,ありがとう