【原创】大叔经验分享(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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM